[LLVMbugs] [Bug 9873] New: clang -MMD is different than GCC regarding pragma GCC system_header

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun May 8 10:28:28 PDT 2011


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

           Summary: clang -MMD is different than GCC regarding pragma GCC
                    system_header
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: adrianosf at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


With GCC, "#pragma GCC system_header" does not interfere with dependencies
emitted by -MMD.

clang suppress header files included from files using this pragma.

I think clang should emulate this *GCC* pragma as GCC does.

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