public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19134] New: Class visibility of templated classes can't be overridden for function specializations
@ 2004-12-22 21:17 nomis80 at nomis80 dot org
  2005-07-02  1:51 ` [Bug c++/19134] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 5+ messages in thread
From: nomis80 at nomis80 dot org @ 2004-12-22 21:17 UTC (permalink / raw)
  To: gcc-bugs

Notwithstanding #17470 :

[nomis80@localhost ~]$ cat foo.cc
template<class T>
class A {
    void foo() {};
};
#pragma GCC visibility push(default)
template<> void A<int>::foo() {};
#pragma GCC visibility pop
[nomis80@localhost ~]$ g++ -fvisibility-inlines-hidden -c foo.cc
foo.cc:6: warning: 'void A<T>::foo() [with T = int]': visibility attribute
ignored because it
foo.cc:3: warning: conflicts with previous declaration here

-- 
           Summary: Class visibility of templated classes can't be
                    overridden for function specializations
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nomis80 at nomis80 dot org
                CC: gcc-bugs at gcc dot gnu dot org,s_gccbugzilla at nedprod
                    dot com


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


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

end of thread, other threads:[~2006-08-28 12:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19134-9844@http.gcc.gnu.org/bugzilla/>
2006-06-20 18:30 ` [Bug c++/19134] Class visibility of templated classes can't be overridden for function specializations jason at gcc dot gnu dot org
2006-06-30  1:17 ` jason at gcc dot gnu dot org
2006-06-30 15:31 ` pinskia at gcc dot gnu dot org
2006-08-28 12:29 ` jakub at gcc dot gnu dot org
2004-12-22 21:17 [Bug c++/19134] New: " nomis80 at nomis80 dot org
2005-07-02  1:51 ` [Bug c++/19134] " pinskia 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).