when using default mode of IBM C 6 for AIX. Problem and two-line
fix reported by Larry Jones.
+2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
+ when using default mode of IBM C 6 for AIX. Problem and two-line
+ fix reported by Larry Jones.
+
2006-06-22 Alexandre Julliard <julliard@winehq.org>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
that's true only with -std. */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};