Re: [PATCH 3/5] Dangling commas in enum is not portable (resend)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 25, 2010 at 10:35, Gary V. Vaughan
<git@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> I take it back.  I've been porting this patch forward from our builds
> of previous releases, and at some point it certainly was necessary
> (otherwise I wouldn't have written the patch)... and yet, all of our
> platforms are now able to compile a minimal test program in C.
> Either the offending vendor compilers have issued an update to accept
> the dangling comma syntax, or we have retired the machines that used
> to have this problem since I originally wrote the patch.
>
> It's notable that aCC (the HP C++ compiler) and CC (the SunOS C++
> compiler) both issue a warning on dangling enum commas, but even they
> still compile successfully.
>
> Sorry for the noise,

The SGI MIPS Compiler v6.2 on IRIX 6.2 compiles, but with a warning.
Later MIPSPro 7.2 and 7.4 versions (on 6.5) are OK (silent)
Unfortunately IBM VisualAge C 5.0 (I have 5.0.2) on AIX 5.1 fails to
compile with a trailing comma.
IBM XLC V10.1 (I have one on AIX 6.1) is OK (silent)
Native compiler on Tru64 V5.1 is OK (silent)

So, from the boxes I have access to the IBM XLC V5 version is the one
which has a problem.

-Tor
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]