[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo 4.1 build problem on AIX
From: |
Albert Chin-A-Young |
Subject: |
Re: texinfo 4.1 build problem on AIX |
Date: |
Mon, 18 Mar 2002 13:32:35 -0600 |
User-agent: |
Mutt/1.2.5i |
On Mon, Mar 18, 2002 at 02:15:12PM -0500, Karl Berry wrote:
> The AIX compiler dies if a trailing ',' exists in a struct definition.
>
> Well, sigh.
>
> What version is this? Does this compiler claim to be ANSI compliant?
> (I'm wondering if running ansi2knr would help.)
xlc v5.0.2.0, AIX 4.3.2. Yes, the compiler does claim to be ANSI
compliant. And, I think the trailing comma might be illegal ANSI C.
GCC with -pedantic -ansi gives:
infokey.c:64: warning: comma at end of enumerator list
infokey.c: In function `compile':
infokey.c:404: warning: comma at end of enumerator list
infokey.c:414: warning: comma at end of enumerator list
So I'd say the code is at fault.
--
albert chin (address@hidden)