You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/10/12 00:18:34 UTC
[jira] Created: (STDCXX-298) [HP aCC 3.70] bogus error 529 on
extern "C" inline
[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 <se...@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