llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Clang can't recognize -Wp,-MMD

Open weiguozhi opened this issue 14 years ago • 2 comments

Bugzilla Link 13959
Resolution FIXED
Resolved on Nov 07, 2012 17:37
Version trunk
OS All
CC @Bigcheese

Extended Description

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.

weiguozhi avatar Sep 28 '12 02:09 weiguozhi

Fixed in r167559.

Bigcheese avatar Nov 08 '12 01:11 Bigcheese

Michael, this predates your refactoring, but you probably have the most context on how this is supposed to work...

llvmbot avatar Oct 27 '12 02:10 llvmbot