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 2007/11/28 06:24:44 UTC
[jira] Updated: (STDCXX-408) make use of
__declspec(dll{export,import}) on all platforms
[ https://issues.apache.org/jira/browse/STDCXX-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-408:
--------------------------------
Severity: Inefficiency
Environment: HP aCC 3.37 and beyond, gcc/Linux (was: HP aCC 3.37 and beyond)
Summary: make use of __declspec(dll{export,import}) on all platforms (was: [HP aCC 3.37] use __declspec(dll{export,import}))
gcc also implements the __declspec(dll{im,ex}port) feature as an alternative to __attribute__((dll{ex,im}port):
http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Function-Attributes.html
We might as well implement this enhancement across all platforms.
> make use of __declspec(dll{export,import}) on all platforms
> -----------------------------------------------------------
>
> Key: STDCXX-408
> URL: https://issues.apache.org/jira/browse/STDCXX-408
> Project: C++ Standard Library
> Issue Type: Improvement
> Components: Build
> Affects Versions: 4.1.3
> Environment: HP aCC 3.37 and beyond, gcc/Linux
> Reporter: Martin Sebor
> Fix For: 4.2.1
>
>
> Starting with HP aCC 3.37 the compiler supports the __declspec(dllexport) and __declspec(dllimport) decorators on declarations of symbols with external linkage. According to the Release Notes for the compiler, "Support of these keywords enhances the performance of shared libraries and relieves the usage of HP_DEFINED_EXTERNAL pragmas and +Oextern= list to hide the non-exported symbols." See http://docs.hp.com/en/2212/A-03-37relnotes.html.
> We should enable this in our builds.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.