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 ([EMAIL PROTECTED]) _______________________________________________ Bug-texinfo mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-texinfo
