RESOLVED FIXED Bug 172750
[CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0
https://bugs.webkit.org/show_bug.cgi?id=172750
Summary [CMake] Do not pass -Wno-expansion-to-defined to Clang <4.0.0
Adrian Perez
Reported 2017-05-31 07:56:06 PDT
As per Carlos López's comment on bug #167643: > I get thousands of warnings printed like this: > warning: unknown warning option '-Wno-expansion-to-defined'; did you mean '-Wno-macro-redefined'? [-Wunknown-warning-option] > > Using clang-3.8 with ccache. With Clang 4.0 there is no such warning.
Attachments
Patch (1.74 KB, patch)
2017-05-31 08:10 PDT, Adrian Perez
mcatanzaro: review+
Adrian Perez
Comment 1 2017-05-31 08:10:19 PDT
Michael Catanzaro
Comment 2 2017-05-31 12:44:03 PDT
Comment on attachment 311589 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=311589&action=review > Source/cmake/OptionsCommon.cmake:37 > + if (NOT(COMPILER_IS_CLANG AND "${CLANG_VERSION}" VERSION_LESS 4.0.0)) Style: add one space after the NOT
Adrian Perez
Comment 3 2017-05-31 12:54:27 PDT
Note You need to log in before you can comment on or make changes to this bug.