llvm-project
0c098ae4 - [Support] [CMake] Only pass -Wno-c99-extensions to Clang, not GCC (#221822)

Commit
73 days ago
[Support] [CMake] Only pass -Wno-c99-extensions to Clang, not GCC (#221822) GCC doesn't support this option, only Clang. GCC doesn't warn if an unrecognized `-Wno-<foo>` option is passed, but if GCC produces other warnings, it also adds a note about `-Wno-<foo>` not being recognized, and that it may have been intended to silence the warning that was produced.
Author
Parents
Loading