Closed lalten closed 7 months ago
Passing the language to the compiler explicitly prevents errors like
2 errors generated. Error while processing /home/.../sandbox/linux-sandbox/1234/execroot/path/to/file.h. error: invalid argument '-std=c++17' not allowed with 'C' [clang-diagnostic-error] error: argument unused during compilation: '-stdlib=libstdc++' [clang-diagnostic-unused-command-line-argument] Found compiler error(s).
what about the .h files that are actually C files? anyways, I see this change doesn't make the situation worse. thanks!
Passing the language to the compiler explicitly prevents errors like