[LLVMbugs] [Bug 5951] New: Unknown pragmas not ignored with -Wunknown-pragmas

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 5 12:17:01 PST 2010


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

           Summary: Unknown pragmas not ignored with -Wunknown-pragmas
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Basic
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu


$ cat test.c
#pragma GCC diagnostic ignored "-Wvla"
$ ./Debug/bin/clang  -Wunknown-pragmas test.c
test.c:1:32: warning: unknown warning group '-Wvla', ignored
[-Wunknown-pragmas]
#pragma GCC diagnostic ignored "-Wvla"
                               ^
1 diagnostic generated.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list