stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-444) [HP-UX 11.31] trailing comma in an enum in <stdlib.h>
Date Fri, 08 Jun 2007 15:28:25 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502841
] 

Martin Sebor commented on STDCXX-444:
-------------------------------------

-------- Original Message --------
Subject: Re:  trailing comma in an enum in stdlib.h on 11.31
Date: Thu, 7 Jun 2007 22:35:50 -0700 (PDT)
From: Dennis Handly <dhandly@cup.hp.com>
To: acxx@cup.hp.com, sebor@roguewave.com

>From: Martin Sebor <sebor@roguewave.com>
>We're seeing the warning below in our 11.31 builds.  I'm sure this must
>be fixed by now.  Are we missing a patch?

Why would you assume that?  11.31 only came in Feb and aCC6 suppresses all
stinkin' warnings in system headers.  ;-)

Warning 921: "/usr/include/stdlib.h", line 606 # A trailing comma is not 
      AR_ARENA_OPEN=0,            /* open a session for obtaining memo

This is CR JAGag39903:
Warning 921 trailing comma in _dm_arena_request in stdlib.h

It was only filed in May.


> [HP-UX 11.31] trailing comma in an enum in <stdlib.h>
> -----------------------------------------------------
>
>                 Key: STDCXX-444
>                 URL: https://issues.apache.org/jira/browse/STDCXX-444
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: External
>         Environment: HP aCC 3.73/HP-UX 11.31
>            Reporter: Martin Sebor
>
> -------- Original Message --------
> Subject: trailing comma in an enum in stdlib.h on 11.31
> Date: Thu, 07 Jun 2007 12:20:29 -0600
> From: Martin Sebor <sebor@roguewave.com>
> Organization: Rogue Wave Software
> To: acxx@cup.hp.com
> Hi,
> We're seeing the warning below in our 11.31 builds. I'm
> sure this must be fixed by now. Are we missing a patch?
> Thanks
> Martin
> $ uname -sr && cat t.c && aCC -V t.c
> HP-UX B.11.31
> #include <stdlib.h>
> int main () { }
> aCC: HP ANSI C++ B3910B A.03.73
> Warning 921: "/usr/include/stdlib.h", line 606 # A trailing comma is not 
> allowed in an enumeration.
>      AR_ARENA_OPEN=0,            /* open a session for obtaining memo
>      ^^^^^^^^^^^^^^^^^^^^^^^^^
> 92453-07 linker command s800.sgs ld PA64 B.11.58 REL 060929
> /usr/ccs/bin/ld: 92453-07 linker linker ld B.11.59.01 061205
> ac

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message