This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [options]: Start moving help text to .opt files
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, Neil Booth <neil at daikokuya dot co dot uk>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Jul 2003 09:51:24 -0400
- Subject: Re: [options]: Start moving help text to .opt files
On Tuesday, Jul 8, 2003, at 02:51 US/Eastern, Andreas Jaeger wrote:
This line now throws three warnings:
/cvs/gcc/gcc/opts.c:1554: warning: field width is not type int (arg 2)
/cvs/gcc/gcc/opts.c:1554: warning: field precision is not type int
(arg 3)
/cvs/gcc/gcc/opts.c:1554: warning: field precision is not type int
(arg 5)
We should really use int here.
The appended patch compiles the file without warnings.
What do you think?
Andreas
2003-07-08 Andreas Jaeger <aj@suse.de>
* opts.c (print_help): Use int.
(wrap_help): Use int instead of size_t.
Could someone approve this patch, the mainline
has not been able to bootstrap for more than 7 hours now?
Thanks,
Andrew Pinski