This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]