Turn off ISO varargs support for gcc-2.95 since it causes problems with
authorOwen Taylor <otaylor@redhat.com>
Mon, 18 Feb 2002 17:48:44 +0000 (17:48 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 18 Feb 2002 17:48:44 +0000 (17:48 +0000)
Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Turn off ISO varargs support for gcc-2.95
        since it causes problems with ANSI and we we have GNUC
        varargs. (#70024, reported by Morten Welinder, fix from
        James Henstridge)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index 617cbd0..ee84b9a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 617cbd0..ee84b9a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 617cbd0..ee84b9a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 617cbd0..ee84b9a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 617cbd0..ee84b9a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 617cbd0..ee84b9a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 617cbd0..ee84b9a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 617cbd0..ee84b9a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
 Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
 
        * 1.3.14
index 3d7a69e..a4d0fd0 100644 (file)
@@ -1807,6 +1807,14 @@ _______EOF
        if test x$g_have_gnuc_varargs = xyes ; then
                cat >>$outfile <<_______EOF
 
+/* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
+ * is passed ISO vararg support is turned off, and there is no work
+ * around to turn it on, so we unconditionally turn it off.
+ */
+#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
+#  undef G_HAVE_ISO_VARARGS
+#endif
+
 #define G_HAVE_GNUC_VARARGS 1
 _______EOF
        fi