clang driver warnings

-w works okay for compiler warnings but does not turn off warnings from the driver.

does anybody know how to turn off driver warnings?

for example:

clang: warning: unknown platform, assuming -mfloat-abi=soft
clang: warning: argument unused during compilation: '-funroll-all-loops'

Hello

clang: warning: unknown platform, assuming -mfloat-abi=soft
clang: warning: argument unused during compilation: '-funroll-all-loops'

Just do not pass this options to clang and you'll done.

not a good answer.

i'm trying to run dejagnu for gcc against clang and many things will fail if there are warnings being put out by the compiler.

i consider it a compiler but because "-w" is not working.

Reed

dejagnu relies on "-w" working

-w works okay for compiler warnings but does not turn off warnings from
the driver.

does anybody know how to turn off driver warnings?

for example:

clang: warning: unknown platform, assuming -mfloat-abi=soft

Pass down the float abi explicitly.

clang: warning: argument unused during compilation: '-funroll-all-loops'

-Qunused-args

Joerg