]> granicus.if.org Git - libexpat/commitdiff
Fix FASTCALL for GCC on Solaris (SF bug #692878).
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Wed, 12 Mar 2003 23:02:11 +0000 (23:02 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Wed, 12 Mar 2003 23:02:11 +0000 (23:02 +0000)
This file is becoming a liability.

expat/lib/internal.h

index 1bf6baa54323e15e971669f33c9bce3bce437e1c..761291b5fbfe80a9114d1840893f101e33213bc7 100644 (file)
          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: