Re: [Re: [gtkmm] gcc-3.3 and gtkmm-2.2.1]
- From: Murray Cumming <murrayc usa net>
- To: Ole Laursen <olau hardworking dk>, <gtkmm-list gnome org>
- Subject: Re: [Re: [gtkmm] gcc-3.3 and gtkmm-2.2.1]
- Date: Sun, 18 May 2003 14:59:46 +0200
OK, let's see what the gcc people say. Do you have a URL for the mail thread?
Why are debian moving to an unstable compiler release?
Ole Laursen <olau hardworking dk> wrote:
> I got this problem too, now, since Debian is moving to GCC 3.3. We
> really need to fix it soon.
>
> Chris Vine <chris cvine freeserve co uk> writes:
>
> > In ustring.h, as it happens Glib::ustring::SequenceToString is
> > private at line 532 (but making it public generates another series
> > of errors).
>
> On my system, those errors are from orbitcpp and is the same problem.
>
> The error can be reproduced with the code
>
> class X
> {
> template <typename T> struct Y; // line 3
> };
>
> template <> struct X::Y<int>
> { // line 7
> };
>
> int main()
> {
> }
>
> It appears GCC 3.3 doesn't like the specialisation:
>
> $ g++ -o test test.c++ -Wall
> test.c++:3: error: `template<class T> struct X::Y' is private
> test.c++:7: error: within this context
>
> > This appears either to be a gcc-3.3 bug, or a gtkmm problem revealed by
> > gcc-3.3.
>
> I'm going to ask on the GCC list. I think it is a GCC bug. Either that
> or a bug in the standard, or it is simply not possible to specialise
> member templates.
>
> --
> Ole Laursen
> http://www.cs.auc.dk/~olau/
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]