[Expat-discuss] RE: Obnoxious warnings from GCC
Greg Martin
Greg.Martin at TELUS.COM
Tue Oct 21 15:58:49 EDT 2003
No problem on tru64 on DEC Alpha but I was using Digital's C compiler so it probably didn't define the macro as anything. AIX 5L on PowerPC using gcc version 2.9-aix43-010414 produced the warnings as well.
Greg.
-----Original Message-----
From: Fred L. Drake, Jr. [mailto:fdrake at acm.org]
Sent: Tuesday, October 21, 2003 12:46 PM
To: Greg Martin
Cc: expat-discuss at mail.libexpat.org
Subject: Obnoxious warnings from GCC
Greg Martin writes:
> Thanks Fred. I still have the cdecl problem on sparc so I added
Ouch! I think this is GCC being really annoying; they seem to
generate warnings when attributes have no effect because they match
the default. I think that's wrong, but... I'm not on the GCC crew.
> #ifdef sparc
> #define XMLCALL
> #endif
> to lib/expat.h before the macro is set. I'm don't imagine this is
> the "right" way to deal with the problem and it may occur on other
> non-x86 platforms as well. I'm unable to get to the CVS repository
> from work (firewall) so was unable to test before the release. I
> have some other platforms here (tru64 and RS6000). I'll try to get
> to building on them this week if it helps.
That would be wonderful!
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation
More information about the Expat-discuss
mailing list