Re: trailing comma compiler suuport (was: [PATCH] cipher: Add Classic McEliece mceliece6688128f.)
Jacob Bachmeyer via Gcrypt-devel <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.libgcrypt.devel |
|---|---|
| Message-ID | <[email protected]> |
Werner Koch via Gcrypt-devel wrote: > Hi! > > On Wed, 17 Apr 2024 11:57, Simon Josefsson said: > [...] >> Are pre-C99 compilers supported for real, or is this merely an obsolete >> desired feature? Do you have any example of a pre-C99 compiler that can >> > > [...] But struct initializers and trailing commas are > problematic (older but still used AIX and HPUX compilers). Wait... I thought trailing commas in initializer lists had always been allowed, since the original K&R C, in order to facilitate tools that generate C code. Is this incorrect or are those compilers outliers? (To be fair, this is history for me---when C89 was published, I was not old enough to type.) -- Jacob