--- c.m4.~1.179.~ 2003-05-24 07:07:17.000000000 +1000 +++ c.m4 2003-06-07 11:45:52.000000000 +1000 @@ -805,6 +805,16 @@ va_end (v); return s; } + +/* OSF 4.0 Compaq C is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error for this, until -std1 is added to + put it in proper ANSI mode. Curiously '\x00'!='x' comes out true, it's + necessary to write '\x00'==0 to induce a problem, for an array size at + least. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);};