[cfe-dev] Can I tell clang to NOT accept unknown flags?

Clifford Yapp cliffyapp at gmail.com
Thu Sep 29 08:21:03 PDT 2011


I'm building a large project with clang, and there are configure mechanisms
set up that are intended to test whether a compiler supports a variety of
flags.  This gets tricky if clang accepts ALL flags and ignores unknowns -
is there a way (something like the opposite of -Qunused-arguments) that will
allow tests to fail for unknown arguments?

Thanks,
CY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110929/f6d7ed66/attachment.html>


More information about the cfe-dev mailing list