incubator-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] Created: (STDCXX-298) [HP aCC 3.70] bogus error 529 on extern "C" inline
Date Wed, 11 Oct 2006 22:18:34 GMT
[HP aCC 3.70] bogus error 529 on extern "C" inline
--------------------------------------------------

                 Key: STDCXX-298
                 URL: http://issues.apache.org/jira/browse/STDCXX-298
             Project: C++ Standard Library
          Issue Type: Bug
          Components: External
         Environment: aCC 3.63, 3.70
            Reporter: Martin Sebor


-------- Original Message --------
Subject: bogus error 529 on extern "C" inline
Date: Wed, 11 Oct 2006 16:04:33 -0600
From: Martin Sebor <sebor@roguewave.com>
Organization: Rogue Wave Software
To: acxx@cup.hp.com

This just showed up in our tests with 3.63 and 3.70.
aCC 6 has no problem with the code.

Martin

$ cat t.cpp && aCC -AA -V -c t.cpp
extern "C++" { inline void f () { } }
extern "C++" inline void g () { }

extern "C" { inline void h () { } }
extern "C" inline void i () { }

aCC: HP ANSI C++ B3910B A.03.70
Error 529: "t.cpp", line 5 # A function with a linkage specifier cannot 
be declared inline.
    extern "C" inline void i () { }
    ^^^^^^^^^^^^^^^^^

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message