Removes compile_commands.json from source control.

This commit is contained in:
2023-04-24 22:47:16 -07:00
parent bed4ea00a1
commit d33e95a57d
2 changed files with 2 additions and 728 deletions

View File

@@ -1,727 +0,0 @@
[
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/sbf.o",
"sbf-cpp/sbf.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/sbf.cpp",
"output": "/Users/tom/Projects/sbf2000/build/sbf.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Abilities.o",
"sbf-cpp/Abilities.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Abilities.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Abilities.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Archetypes.o",
"sbf-cpp/Archetypes.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Archetypes.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Archetypes.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Attributes.o",
"sbf-cpp/Attributes.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Attributes.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Attributes.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Backgrounds.o",
"sbf-cpp/Backgrounds.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Backgrounds.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Backgrounds.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Character.o",
"sbf-cpp/Character.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Character.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Character.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Clans.o",
"sbf-cpp/Clans.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Clans.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Clans.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Colors.o",
"sbf-cpp/Colors.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Colors.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Colors.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Derangements.o",
"sbf-cpp/Derangements.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Derangements.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Derangements.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Disciplines.o",
"sbf-cpp/Disciplines.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Disciplines.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Disciplines.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Genders.o",
"sbf-cpp/Genders.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Genders.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Genders.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Ranks.o",
"sbf-cpp/Ranks.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Ranks.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Ranks.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Utils.o",
"sbf-cpp/Utils.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Utils.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Utils.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Virtues.o",
"sbf-cpp/Virtues.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Virtues.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Virtues.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Abilities_test.o",
"sbf-cpp/Abilities_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Abilities_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Abilities_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Archetypes_test.o",
"sbf-cpp/Archetypes_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Archetypes_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Archetypes_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Attributes_test.o",
"sbf-cpp/Attributes_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Attributes_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Attributes_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Backgrounds_test.o",
"sbf-cpp/Backgrounds_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Backgrounds_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Backgrounds_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Character_test.o",
"sbf-cpp/Character_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Character_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Character_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Clans_test.o",
"sbf-cpp/Clans_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Clans_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Clans_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Colors_test.o",
"sbf-cpp/Colors_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Colors_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Colors_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Derangements_test.o",
"sbf-cpp/Derangements_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Derangements_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Derangements_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Disciplines_test.o",
"sbf-cpp/Disciplines_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Disciplines_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Disciplines_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Genders_test.o",
"sbf-cpp/Genders_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Genders_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Genders_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Ranks_test.o",
"sbf-cpp/Ranks_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Ranks_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Ranks_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Utils_test.o",
"sbf-cpp/Utils_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Utils_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Utils_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/Virtues_test.o",
"sbf-cpp/Virtues_test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/Virtues_test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/Virtues_test.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/test_main.o",
"build/test_main.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/build/test_main.cpp",
"output": "/Users/tom/Projects/sbf2000/build/test_main.o"
},
{
"arguments": [
"/usr/bin/clang++",
"-std=c++17",
"-Wall",
"-fno-objc-arc",
"-finput-charset=UTF-8",
"-Isbf-cpp",
"-I/opt/homebrew/opt/ncurses/include",
"-O2",
"-arch",
"arm64",
"-arch",
"x86_64",
"-fdiagnostics-show-template-tree",
"-fno-elide-type",
"-c",
"-o",
"build/test.o",
"sbf-cpp/test.cpp"
],
"directory": "/Users/tom/Projects/sbf2000",
"file": "/Users/tom/Projects/sbf2000/sbf-cpp/test.cpp",
"output": "/Users/tom/Projects/sbf2000/build/test.o"
}
]

View File

@@ -1,4 +1,4 @@
#define _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#include "Utils.h"
#include <cstdint>
@@ -12,6 +12,7 @@ using namespace SBF;
namespace SBF {
namespace {
using std::ostringstream;
using std::string;
using std::vector;
} // End namespace