[LLVMbugs] [Bug 6817] New: #warning not ignored in -MM mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 10 22:51:40 PDT 2010


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

           Summary: #warning not ignored in -MM mode
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: alexei.svitkine at gmail.com
                CC: llvmbugs at cs.uiuc.edu


The -MM mode is used to generate a Makefile-style dependency graph for the
files passed in.

In clang, #warning directives in the files passed in (and I suspect #error
directives too) will still generate diagnostics, even though the code here
isn't being compiled - only parsed for the sake of generating the header
dependency information.

-- 
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