Skip to content

Instantly share code, notes, and snippets.

@NomiChirps
Created July 26, 2022 15:10
Show Gist options
  • Save NomiChirps/0c5edf05bca533c5e131100295638704 to your computer and use it in GitHub Desktop.
Save NomiChirps/0c5edf05bca533c5e131100295638704 to your computer and use it in GitHub Desktop.
[
{
"file": "test.cc",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\vadefs.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "G:\\code\\compile-commands-issue-repro\\test.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt\\corecrt_stdio_config.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt\\corecrt_wstdio.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\cstdio",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\stdint.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\vcruntime.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\yvals_core.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\xkeycheck.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt\\corecrt.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt\\stdio.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\cstdint",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\concurrencysal.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
},
{
"file": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\include\\sal.h",
"arguments": [
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe",
"/nologo",
"/DCOMPILER_MSVC",
"/DNOMINMAX",
"/D_WIN32_WINNT=0x0601",
"/D_CRT_SECURE_NO_DEPRECATE",
"/D_CRT_SECURE_NO_WARNINGS",
"/bigobj",
"/Zm500",
"/EHsc",
"/wd4351",
"/wd4291",
"/wd4250",
"/wd4996",
"/I.",
"/Ibazel-out/x64_windows-fastbuild/bin",
"/showIncludes",
"/MD",
"/Od",
"/Z7",
"/wd4117",
"-D__DATE__=\"redacted\"",
"-D__TIMESTAMP__=\"redacted\"",
"-D__TIME__=\"redacted\"",
"/Fobazel-out/x64_windows-fastbuild/bin/_objs/test/test.obj",
"/c",
"test.cc"
],
"directory": "G:/code/compile-commands-issue-repro"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment