suggested patch from SF bug #846309:
avoid generating spurious warning from GCC on non-x86 platforms
diff --git a/expat/lib/expat.h b/expat/lib/expat.h
index b590742..2b353d7 100644
--- a/expat/lib/expat.h
+++ b/expat/lib/expat.h
@@ -45,7 +45,7 @@
 #ifndef XMLCALL
 #if defined(XML_USE_MSC_EXTENSIONS)
 #define XMLCALL __cdecl
-#elif defined(__GNUC__)
+#elif defined(__GNUC__) && defined(__i386)
 #define XMLCALL __attribute__((cdecl))
 #else
 /* For any platform which uses this definition and supports more than