This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [c-common.c] warnings: -Wformat and -Wnonnull


> | Not sure what to do about this one though:
> | 
> |   if (warn_format || warn_missing_format_attribute)
> |       check_function_format (attrs, params);
> 
> could we leave it as is?  Or do you see some potential confusion?

I meant, which OPT_* to pass to warning() for the warnings within
check_function_format().

I don't plan on changing the logic for when it's enabled.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]