This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for c/16302
Joseph S. Mywers writes:
> The "sas: " doesn't make sense. The current style to follow for new
> warnings doesn't use the ASCII grave accent as an opening quote; instead,
> use %< as an opening quote and %> for a closing one, so:
>
> warning ("%<or%> of collectively exhaustive tests is always 1");
Note also that the current style is to phrase warnings like this as
"...always true" and "...always false". (Note the phrasing of the "limited
range of data type" warning.)
--
Jonathan Lennox
lennox@cs.columbia.edu