[Expat-checkins] expat/lib internal.h,1.4,1.5
Fred L. Drake
fdrake at users.sourceforge.net
Wed Mar 12 15:02:15 EST 2003
Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv7906/lib
Modified Files:
internal.h
Log Message:
Fix FASTCALL for GCC on Solaris (SF bug #692878).
This file is becoming a liability.
Index: internal.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/internal.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- internal.h 20 Sep 2002 03:42:43 -0000 1.4
+++ internal.h 12 Mar 2003 23:02:11 -0000 1.5
@@ -20,8 +20,10 @@
and therefore subject to change.
*/
-#if defined(__GNUC__)
-/* Instability reported with egcs on a RedHat Linux 7.3.
+#if defined(__GNUC__) && !defined(sun)
+/* regparm() generates warnings on Solaris boxes. See SF bug #692878.
+
+ Instability reported with egcs on a RedHat Linux 7.3.
Let's comment it out:
#define FASTCALL __attribute__((stdcall, regparm(3)))
and let's try this:
More information about the Expat-checkins
mailing list