|
cxxflags.push('-std=c++17'); |
Hi --
I believe (not 100% sure) that this line of code is to blame. PCH (precompiled headers) need to be generated for every language in the project (c, c++, etc). I have a project that has a couple c files and is mostly c++. But the precompiled header is being compiled with -std=c++17 even for the c version of the header, which errors.
I'm not sure what the best solution is.
This issue arises on Mac as GCC_PREFIX_HEADER is part of XCODE_SETTINGS
rebuild/src/clang-fetcher.ts
Line 46 in 29365ad
Hi --
I believe (not 100% sure) that this line of code is to blame. PCH (precompiled headers) need to be generated for every language in the project (c, c++, etc). I have a project that has a couple c files and is mostly c++. But the precompiled header is being compiled with -std=c++17 even for the c version of the header, which errors.
I'm not sure what the best solution is.
This issue arises on Mac as GCC_PREFIX_HEADER is part of XCODE_SETTINGS