[ https://issues.apache.org/jira/browse/STDCXX-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555658#action_12555658 ]
Martin Sebor commented on STDCXX-408: ------------------------------------- A couple of comments/questions on the patch: 1. Since the name of the attribute is dllexport the name of the config macro should be _RWSTD_NO_DLLEXPORT (no space between DLL and EXPORT). 2. It would be nice if we could avoid #defining _RWSTD_IMPORT and/or _RWSTD_IMPORT in every config test that uses the macro. Is there any way to get the macros #defined in the generated config header? > 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.2, 4.1.3, 4.1.4, 4.2.0 > Environment: HP aCC 3.37 and beyond, gcc/Linux > Reporter: Martin Sebor > Assignee: Farid Zaripov > Fix For: 4.2.1 > > Attachments: dllexport.patch, gmake.log > > > 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.