Disabling errors but keeping warnings

Jakub Jelinek jakub@redhat.com
Thu Apr 27 11:00:00 GMT 2017


On Wed, Apr 26, 2017 at 11:43:57PM +0200, Mason wrote:
> + Jakub, Martin, Joseph
> 
> Is it supposed to be possible to downgrade an unrecognized option
> from error to warning?
> 
> What I would like is being able to pass
> -Wall -Werror -Wno-error=misleading-indentation
> to any version of gcc.

Even when we change it now, we don't have a time machine, so all past
versions would still reject it.

	Jakub



More information about the Gcc-help mailing list