https://llvm.org/bugs/show_bug.cgi?id=28784
Bug ID: 28784
Summary: Missing -Wpragma diagnostic
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
While building with GCC 6.1:
[156/201] Building CXX object
unittests/Support/CMakeFiles/SupportTests.dir/AlignOfTest.cpp.o
../unittests/Support/AlignOfTest.cpp:38:32: warning: ‘-w’ is not an option that
controls warnings [-Wpragmas]
#pragma GCC diagnostic warning "-w"
^~~~
clang doesn't seem to warn on the same case.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs