[LLVMbugs] [Bug 13959] New: Clang can't recognize -Wp,-MMD

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 27 17:38:12 PDT 2012


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

             Bug #: 13959
           Summary: Clang can't recognize -Wp,-MMD
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: carrot at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When I put -MMD behind -Wp, clang reports -MMD is an unknown argument.

$clang -fsyntax-only -Wp,-MMD  t2.c
error: unknown argument: '-MMD'

If I use -MMD separately, clang happily accepts it.

$clang -fsyntax-only -MMD  t2.c

So it is a problem of -Wp.

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