Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?



Jan Panteltje wrote:
And will it use US or UK spelling?

unsigned char *color_filter(....)
/* this vunction returns ... */

gcc test.c:

WARN 'line 1: color_filter is spelled colour_filter
ABORT 'line 3: EROR 'vunction' spelling unknown.

Human: Warning: "EROR": bad spelling of ERROR

Sorry could not resist

Me2.
--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett

.



Relevant Pages