public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/42123]  New: dll{im,ex}port attributes don't (yet) work on namespaces.
@ 2009-11-20 16:09 davek at gcc dot gnu dot org
  2009-11-20 16:12 ` [Bug target/42123] " davek at gcc dot gnu dot org
  2009-11-20 16:12 ` davek at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-11-20 16:09 UTC (permalink / raw)
  To: gcc-bugs

As per subject, the dll attributes can't be applied to c++ namespaces - this in
fact applies to all windows platforms, not just cygwin.  This would be a
desirable mechanism for eliminating the use of auto-import by using explicit
dllimport attributes, without having to uglify every header in the whole
library to do so.


-- 
           Summary: dll{im,ex}port attributes don't (yet) work on
                    namespaces.
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: davek at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42123


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/42123] dll{im,ex}port attributes don't (yet) work on namespaces.
  2009-11-20 16:09 [Bug target/42123] New: dll{im,ex}port attributes don't (yet) work on namespaces davek at gcc dot gnu dot org
  2009-11-20 16:12 ` [Bug target/42123] " davek at gcc dot gnu dot org
@ 2009-11-20 16:12 ` davek at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-11-20 16:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |davek at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-20 16:11:58
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42123


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/42123] dll{im,ex}port attributes don't (yet) work on namespaces.
  2009-11-20 16:09 [Bug target/42123] New: dll{im,ex}port attributes don't (yet) work on namespaces davek at gcc dot gnu dot org
@ 2009-11-20 16:12 ` davek at gcc dot gnu dot org
  2009-11-20 16:12 ` davek at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-11-20 16:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from davek at gcc dot gnu dot org  2009-11-20 16:11 -------
Created an attachment (id=19068)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19068&action=view)
work-in-progress

This patch is a bit overly keen in how far it propagates dllimport, leading to
the regression of g++.dg/ext/dllimport8.C without even using -D_GLIBCXX_IMPORT.
 (This is the old
don't-import-a-static-class-member-if-you've-seen-a-definition issue.)  So, not
ready for primetime just yet...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42123


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-20 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20 16:09 [Bug target/42123] New: dll{im,ex}port attributes don't (yet) work on namespaces davek at gcc dot gnu dot org
2009-11-20 16:12 ` [Bug target/42123] " davek at gcc dot gnu dot org
2009-11-20 16:12 ` davek at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).