From cb2e4ecb901f5d3847ab219386b83cc264bbdf99 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Sun, 2 Oct 1994 04:34:40 +0000 Subject: [PATCH] find another const bug --- acspecific.m4 | 3 +++ lib/autoconf/specific.m4 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/acspecific.m4 b/acspecific.m4 index 924e55cd3..4ecc48079 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -1455,6 +1455,9 @@ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; +/* NEC SVR4.0.2 mips cc rejects this. */ +struct point {int x, y;}; +static struct point const zero; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 924e55cd3..4ecc48079 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -1455,6 +1455,9 @@ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; +/* NEC SVR4.0.2 mips cc rejects this. */ +struct point {int x, y;}; +static struct point const zero; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ -- 2.47.3