Package: cccc
Version: 3.pre84-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 cccc_3.pre84-1 on bigsur by sbuild/mips 1.80
...
> g++ -c -I/usr/include/pccts -g -Wno-deprecated -Wall -x c++  CLexer.cpp 
> -oCLexer.o
> /usr/include/pccts/ATokenStream.h:44: warning: 'class ANTLRTokenStream' has 
> virtual functions but non-virtual destructor
> /usr/include/pccts/DLexerBase.h:57: warning: 'class DLGInputStream' has 
> virtual functions but non-virtual destructor
> /usr/include/pccts/DLexerBase.h:63: warning: 'class DLGFileInput' has virtual 
> functions but non-virtual destructor
> /usr/include/pccts/DLexerBase.h:85: warning: 'class DLGStringInput' has 
> virtual functions but non-virtual destructor
> CLexer.cpp: In member function 'ANTLRTokenType CLexer::act13()':
> CLexer.cpp:165: error: 'IncrementNesting' was not declared in this scope
> CLexer.cpp: In member function 'ANTLRTokenType CLexer::act14()':
> CLexer.cpp:172: error: 'DecrementNesting' was not declared in this scope
> make[1]: *** [CLexer.o] Error 1

This patch helps:

--- cccc/cccc_tok.h~    2006-03-10 02:18:43.000000000 +0000
+++ cccc/cccc_tok.h     2006-03-10 02:21:37.000000000 +0000
@@ -22,6 +22,8 @@
 #include "AToken.h"
 #include "cccc.h"
 
+void IncrementNesting();
+void DecrementNesting();
 
 /*
 ** the class definition for ANTLRToken


But then it dies with:

> make[1]: Entering directory `/home/tbm/src/cccc-3.pre84/cccc'
> g++ -c -I/usr/include/pccts  -Wno-deprecated -Wall -x c++  JLexer.cpp 
> -oJLexer.o
> JLexer.cpp:5371:22: error: DLexer.cpp: No such file or directory


Haven't had time to look at this.

BTW, there are _lots_ of warnings when compiling this message.  Maybe you can
prod upstream a bit.
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to