[Bug c++/10969] New: private struct template specialization refused (gtmm buid fails)
casteyde.christian@free.fr
gcc-bugzilla@gcc.gnu.org
Sat May 24 15:35:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list