This is the mail archive of the gcc-bugs@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]

uchar redefinition warning from cpphash.h


Neil,

I just noticed that this patch

2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>

	* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
	* cppfiles.c (read_include_file): Similarly.
	* cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
	uxstrdup ustrchr, ufputs): Similarly.

causes redefinition warnings on Tru64 UNIX V5.1:

/vol/gnu/src/gcc/gcc-dist/gcc/cpphash.h:32: warning: redefinition of `uchar'
include/sys/types.h:585: warning: `uchar' previously declared here

I suppose the same might happen on various BSD systems as well, so it may
be appropriate to choose a different name here?

	Rainer


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