Package: re2c
Version: 0.9.12-1
Severity: important
Tags: patch

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.

A patch is below.


> Automatic build of re2c_0.9.12-1 on bigsur by sbuild/mips 1.80
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT parser.o -MD -MP -MF 
> ".deps/parser.Tpo" -c -o parser.o parser.cc; \
>       then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f 
> ".deps/parser.Tpo"; exit 1; fi
> parser.y: In function 'int yyparse()':
> parser.y:80: error: 'mkAlt' was not declared in this scope
> parser.y:103: error: 'mkAlt' was not declared in this scope
> parser.y:127: error: 'mkAlt' was not declared in this scope
> make[2]: *** [parser.o] Error 1


--- re.h~       2006-03-10 06:18:06.000000000 +0000
+++ re.h        2006-03-10 06:18:30.000000000 +0000
@@ -164,6 +164,8 @@
        }
 };
 
+RegExp *mkAlt(RegExp*, RegExp*);
+
 class AltOp: public RegExp
 {
 

-- 
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