On Thu, Aug 9, 2012 at 1:37 PM, Bruce Korb <bruce.k...@gmail.com> wrote:
> Hi,
>
> This command:
>
>    gcc -Wno-format-contains-nul -Wall -Werror

I think -Wall should over ride what comes before it.  This is
different from -O though.

Thanks,
Andrew Pinski


>
> falls over if a format string contains a nul byte.
> I think it should not.  There needs to be a way for
> collective warning options (e.g. "-Wall") to skip
> over anything set by a more specific option.
> ("format-contains-nul" being fairly specific.)
>
> If agreed, I'll supply some patch when I find that
> round tuit I misplaced.
>
> Thanks - Bruce

Reply via email to