[RFC] ansidecl.h and PARAMS
Mark Kettenis
kettenis@chello.nl
Sat Sep 14 05:13:00 GMT 2002
I'm having problems with a redefinition of PARAMS on some FreeBSD
systems. These system uses the libintl.h that's generated from
../intl/intlh.inst.in, which provides a definition of PARAMS if it
isn't already defined. This libintl.h is included from gdb_locale.h.
Since our ansidecl.h header defines PARAMS unconditionally, and is
included *after* gdb_locale.h in defs.h, this results in a compiler
warning, and since I tend to use -Werror, this leads to a failure.
Can anyone think of any reason not to move the inclusion of ansidecl.h
before the inclusion of gdb_locale.h?
Mark
More information about the Gdb
mailing list