Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- From: Artie Gold <artiegold@xxxxxxxxxxxxx>
- Date: Fri, 24 Feb 2006 23:06:06 -0600
Erik de Castro Lopo wrote:
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
gcc-6.0 will add the `--dwim' command line option.
gcc-6.1 will add the `--dwishm' command line option
But probably not. ;-)
--ag
--
Artie Gold -- Austin, Texas
http://goldsays.blogspot.com
"You can't KISS* unless you MISS**"
[*-Keep it simple, stupid. **-Make it simple, stupid.]
.
- References:
- Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- From: Jan Panteltje
- Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- From: Erik de Castro Lopo
- Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- Prev by Date: Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- Next by Date: Multimedia linux
- Previous by thread: Re: Will GCC-6.0 Warn On Spelling Mistakes In Comments And Function Names?
- Next by thread: Makefile, complex targets and dependencies
- Index(es):