[LLVMbugs] [Bug 14831] New: -frewrite-includes incorrect warns about "unknown" pragmas

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 7 03:36:55 PST 2013


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

             Bug #: 14831
           Summary: -frewrite-includes incorrect warns about "unknown"
                    pragmas
           Product: clang
           Version: 3.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: l.lunak at suse.cz
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When -E -frewrite-includes is run, it complains about some pragmas:

$ cat a.cpp
#  pragma GCC visibility push (default)
$ clang++ -Wall -c a.cpp
$ clang++ -Wall -E -frewrite-includes a.cpp >a.ii
a.cpp:1:15: warning: unknown pragma ignored [-Wunknown-pragmas]
#  pragma GCC visibility push (default)
              ^
1 warning 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