Package: root-system
Version: 5.18.00-2.1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.
GCC 4.4 will introduce better checks in the preprocessor, which made
me found a typo in your code.
You can reproduce this problem with gcc-snapshot from unstable.
> Automatic build of root-system_5.18.00-2.1 on em64t by sbuild/amd64 0.53
...
> bin/rmkdepend -R -fcint/src/Type.d -Y -w 1000 -- -pipe -Wall -m64 -fPIC
> -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL
> -DG__ROOT -DG__REDIRECTIO -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO
> -DG__CINTBODY -Icint/src -pthread -D__cplusplus -- cint/src/Type.cxx
> g++ -O2 -pipe -Wall -m64 -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP
> -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__64BIT
> -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -o
> cint/src/Type.o -c cint/src/Type.cxx
> cint/src/Type.cxx:128:15: error: missing binary operator before token "("
> cint/src/Type.cxx:141:15: error: missing binary operator before token "("
> In file included from cint/src/Type.cxx:18:
> cint/src/common.h: In member function 'bool G__ifunc_table::operator<(const
> G__ifunc_table&) const':
> cint/src/common.h:1031: warning: suggest parentheses around '&&' within '||'
> make[1]: *** [cint/src/Type.o] Error 1
> make[1]: Leaving directory `/build/tbm/root-system-5.18.00'
--- cint/src/Type.cxx~ 2008-11-08 13:39:57.000000000 +0000
+++ cint/src/Type.cxx 2008-11-08 15:57:33.000000000 +0000
@@ -125,7 +125,7 @@
strcpy(G__buf,
G__type2string((int)type,(int)tagnum,-1,(int)reftype,(int)isconst));
return(G__buf);
-#elif !defind(G__OLDIMPLEMENTATION401)
+#elif !defined(G__OLDIMPLEMENTATION401)
return(G__type2string((int)type,(int)tagnum,-1,(int)reftype,(int)isconst));
#else
return(G__type2string((int)type,(int)tagnum,-1,(int)reftype));
@@ -138,7 +138,7 @@
strcpy(G__buf,G__type2string((int)type,(int)tagnum,(int)typenum,(int)reftype
,(int)isconst));
return(G__buf);
-#elif !defind(G__OLDIMPLEMENTATION401)
+#elif !defined(G__OLDIMPLEMENTATION401)
return(G__type2string((int)type,(int)tagnum,(int)typenum,(int)reftype
,(int)isconst));
#else
P.S. Unfortunately I couldn't finish the build of this application, so
I'm not sure if there are any other GCC 4.4 related problems. But if
there are, I'll file another bug in the future.
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]