git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
GVGary V. Vaughan <git@mlists.thewrittenword.com>
Date
Apr 25, 2010, 16:03 UTC
Message-ID
<20100425152449.GB27695@thor.il.thewrittenword.com>
In-Reply-To
<l2od2d39d861004250612g9ac6c7b4qdaa8ce0f973846e7@mail.gmail.com>
On Sun, Apr 25, 2010 at 03:12:37PM +0200, Tor Arntsen wrote:
Show 21 quoted lines
> On Sun, Apr 25, 2010 at 10:35, Gary V. Vaughan
> <git@mlists.thewrittenword.com> 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.
> > [[...]]
> > 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.
> 
> 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.

I'd be happy to resurrect this patch and resubmit against the latest git release.

Cheers,
-- 
Gary V. Vaughan (gary@thewrittenword.com)
Previous: Tor Arntsen
Message 5 of 5 in “Dangling commas in enum is not portable (resend)”
  1. 3/5 Dangling commas in enum is not portable (resend)Gary V. Vaughan, Mar 11, 2010
  2. Felipe ContrerasMar 12, 2010
  3. Gary V. VaughanApr 25, 2010
  4. Tor ArntsenApr 25, 2010
  5. Gary V. VaughanApr 25, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.