[LLVMbugs] [Bug 17435] New: Visual Studio 2012: pragma warning(push, 0) issues a warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 2 01:15:40 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17435

            Bug ID: 17435
           Summary: Visual Studio 2012: pragma warning(push, 0) issues a
                    warning
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: marci_r at web.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm testing the Windows snapshot for Visual Studio 2012 from
http://llvm.org/builds/ (r191323).

I get the following warning for the line #pragma warning(push, 0):
warning : #pragma warning(push, level) requires a level between 1 and 4
[-Wunknown-pragmas]

This is incorrect, level 0 is valid and means "disable all warnings".

-- 
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/20131002/d5af255a/attachment.html>


More information about the llvm-bugs mailing list