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: warning message control: check for enabled warnings


 > +  if (warn_show_options && opt)
 > +    diagnostic.message.format_spec
 > +      = ACONCAT ((diagnostic.message.format_spec,
 > +	   " [", cl_options[opt].opt_text, "]", 0));

Doesn't the naked zero yield a sentinel warning during bootstrap and
die from -Werror?

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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