[llvm-bugs] [Bug 28784] New: Missing -Wpragma diagnostic

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 30 15:06:21 PDT 2016


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: unassignedclangbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160730/536bc00b/attachment.html>


More information about the llvm-bugs mailing list