Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 874 invoked from network); 19 Feb 2008 19:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2008 19:31:21 -0000 Received: (qmail 80803 invoked by uid 500); 19 Feb 2008 19:31:16 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 80776 invoked by uid 500); 19 Feb 2008 19:31:15 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 80459 invoked by uid 99); 19 Feb 2008 19:31:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 11:31:14 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 19:30:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1D46C234C051 for ; Tue, 19 Feb 2008 11:30:48 -0800 (PST) Message-ID: <1919202695.1203449448118.JavaMail.jira@brutus> Date: Tue, 19 Feb 2008 11:30:48 -0800 (PST) From: "Farid Zaripov (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-408) make use of __declspec(dll{export,import}) on all platforms MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Farid Zaripov updated STDCXX-408: --------------------------------- Fix Version/s: (was: 4.2.1) 4.3 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: 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.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 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.