Package: magnus
Version: 20050624-1
Severity: important

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.


> Automatic build of magnus_20050624-1 on bigsur by sbuild/mips 1.80
...
> g++   -IFclasses -IGLink -IGLinkGLvar -IGLvarSub -Ipres -ITTdriverDebug 
> -ITTnodesRsrc -O2 -DDEBUG -g -fno-operator-names -D_G_NO_NRV -Wno-deprecated 
> -DLINUX -c Fclasses/FfreeWord.C -o Fclasses/FfreeWord.o
> GLink/FGLwalkNode.h:13: error: extra qualification 'FGLwalkNode::' on member 
> 'xGLwalkNode'
> make[5]: *** [Fclasses/FfreeWord.o] Error 1

This one, and a similar problem, are easy to fix:

--- ./back_end/black_boxes/TietzeTrek/TTnodesRsrc/FTT2pnode.h~  2006-03-09 
06:48:42.000000000 +0000
+++ ./back_end/black_boxes/TietzeTrek/TTnodesRsrc/FTT2pnode.h   2006-03-09 
06:48:48.000000000 +0000
@@ -18,7 +18,7 @@
        FTT2pnode(FGLnode *aSupervisor,FpTree *apTree,FTTpres *currentPres);
        ~FTT2pnode(void);       
        static Boolean TT2pFunc(FGLnode *node);
-       Boolean FTT2pnode::TT2pgo(void);
+       Boolean TT2pgo(void);
        Boolean presGo(void);
        Boolean renumberGo(void);
        virtual void auRevoir(void);
--- ./back_end/black_boxes/rkbp/source/subsystm.h~      2006-03-09 
06:50:33.000000000 +0000
+++ ./back_end/black_boxes/rkbp/source/subsystm.h       2006-03-09 
06:50:54.000000000 +0000
@@ -283,7 +283,7 @@
   void hybrid_first_pass();
   void write( fstream &stream, char *file_name, long num );
 
-  void subsystem::unpack(
+  void unpack(
     long          length,
     long          origin,
     long          bit_pos,


But then I get more errors:


g++ -fno-operator-names -D_G_NO_NRV -Wno-deprecated -fpermissive 
-DHAVE_UNISTD_H -DDEBUG -DSAFETY=2 -I../global -Iinclude -I../Map/include 
-I../Group/include -I../Elt/include -I../libg++/include -c src/DArray.C -o 
src/obj/DArray.o
src/DArray.C: In member function ‘bool DArrayParser<R>::parseDArray(Chars&, 
MatrixRow<R>**, int&, int&) [with R = Integer]’:
src/DArray.C:508:   instantiated from here
src/DArray.C:482: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘bool DArrayParser<R>::parseDArray(Chars&, 
MatrixRow<R>**, int&, int&) [with R = Rational]’:
src/DArray.C:509:   instantiated from here
src/DArray.C:482: warning: ISO C++ forbids initialization in array new
src/DArray.C: In copy constructor ‘DArrayRep<R>::DArrayRep(const DArrayRep<R>&) 
[with R = Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:37: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::reSize(int, int) [with R = 
Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:99: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsBefore(int, int) 
[with R = Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:162: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsAfter(int, int) 
[with R = Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:179: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelBefore(int, int, 
bool) [with R = Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:290: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelAfter(int, int, 
bool) [with R = Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:309: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelRange(int, int, 
bool) [with R = Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:335: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::makeArray(int, int) [with 
R = Rational]’:
src/DArray.C:510:   instantiated from here
src/DArray.C:363: warning: ISO C++ forbids initialization in array new
src/DArray.C: In copy constructor ‘DArrayRep<R>::DArrayRep(const DArrayRep<R>&) 
[with R = Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:37: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::reSize(int, int) [with R = 
Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:99: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsBefore(int, int) 
[with R = Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:162: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsAfter(int, int) 
[with R = Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:179: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelBefore(int, int, 
bool) [with R = Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:290: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelAfter(int, int, 
bool) [with R = Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:309: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelRange(int, int, 
bool) [with R = Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:335: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::makeArray(int, int) [with 
R = Integer]’:
src/DArray.C:511:   instantiated from here
src/DArray.C:363: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘bool DArrayParser<R>::parseDArray(Chars&, 
MatrixRow<R>**, int&, int&) [with R = double]’:
src/DArray.C:512:   instantiated from here
src/DArray.C:482: warning: ISO C++ forbids initialization in array new
src/DArray.C: In copy constructor ‘DArrayRep<R>::DArrayRep(const DArrayRep<R>&) 
[with R = double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:37: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::reSize(int, int) [with R = 
double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:99: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsBefore(int, int) 
[with R = double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:162: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsAfter(int, int) 
[with R = double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:179: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelBefore(int, int, 
bool) [with R = double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:290: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelAfter(int, int, 
bool) [with R = double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:309: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelRange(int, int, 
bool) [with R = double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:335: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::makeArray(int, int) [with 
R = double]’:
src/DArray.C:513:   instantiated from here
src/DArray.C:363: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘bool DArrayParser<R>::parseDArray(Chars&, 
MatrixRow<R>**, int&, int&) [with R = Polynomial<Integer>]’:
src/DArray.C:516:   instantiated from here
src/DArray.C:482: warning: ISO C++ forbids initialization in array new
src/DArray.C: In copy constructor ‘DArrayRep<R>::DArrayRep(const DArrayRep<R>&) 
[with R = Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:37: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::reSize(int, int) [with R = 
Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:99: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsBefore(int, int) 
[with R = Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:162: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsAfter(int, int) 
[with R = Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:179: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelBefore(int, int, 
bool) [with R = Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:290: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelAfter(int, int, 
bool) [with R = Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:309: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelRange(int, int, 
bool) [with R = Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:335: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::makeArray(int, int) [with 
R = Polynomial<Integer>]’:
src/DArray.C:517:   instantiated from here
src/DArray.C:363: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘bool DArrayParser<R>::parseDArray(Chars&, 
MatrixRow<R>**, int&, int&) [with R = Polynomial<Int2>]’:
src/DArray.C:518:   instantiated from here
src/DArray.C:482: warning: ISO C++ forbids initialization in array new
src/DArray.C: In copy constructor ‘DArrayRep<R>::DArrayRep(const DArrayRep<R>&) 
[with R = Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:37: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::reSize(int, int) [with R = 
Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:99: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsBefore(int, int) 
[with R = Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:162: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowInsAfter(int, int) 
[with R = Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:179: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelBefore(int, int, 
bool) [with R = Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:290: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelAfter(int, int, 
bool) [with R = Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:309: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::rowDelRange(int, int, 
bool) [with R = Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:335: warning: ISO C++ forbids initialization in array new
src/DArray.C: In member function ‘void DArrayRep<R>::makeArray(int, int) [with 
R = Polynomial<Int2>]’:
src/DArray.C:519:   instantiated from here
src/DArray.C:363: warning: ISO C++ forbids initialization in array new
src/../../Polynomial/include/Polynomial.h: In member function ‘void 
Polynomial<R>::theKeyIsFound(const Monomial<R>&, Monomial<R>&) [with R = Int2]’:
src/DArray.C:518:   instantiated from here
src/../../Polynomial/include/Polynomial.h:323: error: cannot convert 
‘Monomial<Int2>’ to ‘const char*’ for argument ‘1’ to ‘int remove(const char*)’
src/../../Polynomial/include/Polynomial.h: In member function ‘void 
Polynomial<R>::theKeyIsFound(const Monomial<R>&, Monomial<R>&) [with R = 
Integer]’:
src/DArray.C:518:   instantiated from here
src/../../Polynomial/include/Polynomial.h:323: error: cannot convert 
‘Monomial<Integer>’ to ‘const char*’ for argument ‘1’ to ‘int remove(const 
char*)’
make[3]: *** [src/obj/DArray.o] Error 1
make[3]: Leaving directory `/home/tbm/src/magnus-20050624/back_end/general'


-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to