stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov (JIRA)" <>
Subject [jira] Updated: (STDCXX-408) make use of __declspec(dll{export,import}) on all platforms
Date Tue, 19 Feb 2008 19:30:48 GMT


Farid Zaripov updated STDCXX-408:

    Fix Version/s:     (was: 4.2.1)

Since the gcc 3.4.4 on Cygwin doesn't exports the template instantiations, declared as __declspec(dllexport),
and the latest for this moment gcc 4.2.3 still doesn't correctly exports the virtual function
tables (I've got the internal compiler error during linking the strstream example against
stdcxx library) I think that __declspec(dllexport/dllimport) feature is unusable on gcc/Cygwin.
Also I can't verify this feature on HP aCC because the HP testdrive servers still has the
buggy A.06.14 version.

So I deferring this issue to the later time.

> make use of __declspec(dll{export,import}) on all platforms
> -----------------------------------------------------------
>                 Key: STDCXX-408
>                 URL:
>             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.3
>         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
> 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.

View raw message