Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- From: Erik de Castro Lopo <nospam@xxxxxxxxxxxxx>
- Date: Sat, 25 Feb 2006 03:34:33 GMT
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.
Ok, but what about this:
unsigned char *color_filter() ;
/* 100 lines of code */
unsigned char *ptr = colour_filter () ;
WARN 'line 203': identifier 'colour_filter' not found, using closest
match 'color_filter' instead.
This would be useful.
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
"Slavery is a part of Islam. Slavery is part of jihad, and jihad will
remain as long there is Islam." -- Sheikh Saleh Al-Fawzan, Saudi cleric
http://www.arabianews.org/english/article.cfm?qid=132&sid=2
.
- Follow-Ups:
- References:
- Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- From: Jan Panteltje
- Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- Prev by Date: Re: return the "Processor ID"
- Next by Date: Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- Previous by thread: Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- Next by thread: Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- Index(es):