This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
[RFC] ansidecl.h and PARAMS
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb at sources dot redhat dot com
- Date: Sat, 14 Sep 2002 14:13:06 +0200 (CEST)
- Subject: [RFC] ansidecl.h and PARAMS
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