[cfe-dev] error: unknown argument: '-ffoo' => reason ?

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jan 20 18:23:40 PST 2014

On 20 January 2014 18:18, Sylvestre Ledru <sylvestre at debian.org> wrote:
> Hello,
> I am working on the processing of the rebuild of Debian using clang 3.4.
> I noticed that 159 packages are failing because on this simple call of
> clang:
> $ clang -fno-check-new  -c foo.c
> clang: error: unknown argument: '-fno-check-new'
> I was wondering if there is a reason why this is an error and not a warning.

Mostly tidiness. GCC (and every other command line tool really) errors
on unknown options.

We do try to ignore GCC options that are safe to ignore, so a patch
ignoring the ones that are causing you trouble is probably fine.


More information about the cfe-dev mailing list