This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10969] New: private struct template specialization refused (gtmm buid fails)
- From: "casteyde dot christian at free dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2003 14:46:36 -0000
- Subject: [Bug c++/10969] New: private struct template specialization refused (gtmm buid fails)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.