This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/10969] New: private struct template specialization refused (gtmm buid fails)


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: private struct template specialization refused (gtmm
                    buid fails)
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: casteyde.christian@free.fr
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: i686-gnu-linux
  GCC host triplet: i686-gnu-linux
GCC target triplet: i686-gnu-linux

The follwing code is rejected : 
 
class A 
{ 
private: 
        template <class T> 
        struct a 
        { 
                T i; 
        }; 
}; 
 
template <> 
struct A::a<int> 
{ 
}; 
 
int main(void) 
{ 
        return 0; 
} 
 
this kind of construciton is used by gtkmm 2.2, which do not build 
anymore with gcc 3.3 (regression from 3.2.3).



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]