llvm-project
llvm-project copied to clipboard
Clang can't recognize -Wp,-MMD
| 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.
Fixed in r167559.
Michael, this predates your refactoring, but you probably have the most context on how this is supposed to work...