This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Member specialisation bug (?) in 3.3 (C++)
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Ole Laursen <olau at hardworking dot dk>
- Cc: gcc at gcc dot gnu dot org
- Date: 18 May 2003 13:30:21 +0200
- Subject: Re: Member specialisation bug (?) in 3.3 (C++)
- Organization: Integrable Solutions
- References: <87k7cov83r.fsf@bach.composers>
Ole Laursen <olau@hardworking.dk> writes:
[...]
| Compiling this with GCC 3.3 gives
|
| $ g++ -o test test.c++ -Wall
| test.c++:4: error: `template<class T> struct X::Y' is private
| test.c++:8: error: within this context
|
| whereas it worked with 3.2. Is this a bug in the compiler or is
| specialisation of private template members simply not possible in C++?
That is a bug in the compiler (possibly related to Kriang's recent
changes to the access checking machinery). Please recheck against a
fresh copy of GCC cvs sources and submit a full bug report if still
present.
-- Gaby