Hi,
> Just an update: To unbreak graphics/hugin when using boost-1.41
> someone would have to backport this fix from gcc 3.4:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17327
Nice finding.
> I have done a patch for gcc, but I think it is not complete as
> gcc-3.3.5 is missing the parser.c file. I can't see the consequences
> of this, so I keep away from it. hugin builds with that patch, if
> someone is interested please mail me.
From the link above, pt.c should be enough. The other is not
required (see the 3.4.3 vs current commit in that link).
Applying the diff below fixes the unimplemented error and makes the
test code in the bug report compile:
Index: egcs/gcc/cp/pt.c
===================================================================
RCS file: /cvs/src/gnu/egcs/gcc/cp/pt.c,v
retrieving revision 1.2
diff -N -u -p -p egcs/gcc/cp/pt.c
--- egcs/gcc/cp/pt.c 21 Aug 2003 08:13:21 -0000 1.2
+++ egcs/gcc/cp/pt.c 4 Jan 2010 00:38:18 -0000
@@ -8351,6 +8351,7 @@ unify (tparms, targs, parm, arg, strict)
case COMPLEX_TYPE:
case INTEGER_TYPE:
case BOOLEAN_TYPE:
+ case ENUMERAL_TYPE:
case VOID_TYPE:
if (TREE_CODE (arg) != TREE_CODE (parm))
return 1;
Index: usr.bin/gcc/gcc/cp/pt.c
===================================================================
RCS file: /cvs/src/gnu/usr.bin/gcc/gcc/cp/pt.c,v
retrieving revision 1.1.1.2
diff -N -u -p -p usr.bin/gcc/gcc/cp/pt.c
--- usr.bin/gcc/gcc/cp/pt.c 24 Dec 2004 23:52:00 -0000 1.1.1.2
+++ usr.bin/gcc/gcc/cp/pt.c 4 Jan 2010 00:38:26 -0000
@@ -9253,6 +9253,7 @@ unify (tparms, targs, parm, arg, strict)
case VECTOR_TYPE:
case INTEGER_TYPE:
case BOOLEAN_TYPE:
+ case ENUMERAL_TYPE:
case VOID_TYPE:
if (TREE_CODE (arg) != TREE_CODE (parm))
return 1;
> Has someone tried boost-1.41 with other ports than mentioned above?
Haven't tried building boost yet. I will try it soon.
f.-