Bug#421220: FTBFS with GCC 4.3: error: extra ';'
Package: vbs
Version: 1.4.0-10
Usertags: ftbfs-gcc-4.3
Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning. (Sorry for yet another bug
report...)
You can reproduce this problem with gcc-snapshot (20070422-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64. I hope to have i386 binaries in the archive in the near
future.)
> Automatic build of vbs_1.4.0-10 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -Isrc -I. -g -O2 -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c src/swig/vbs_api.cc
> In file included from src/common/sym_tab.h:26,
> from src/swig/vbs_api.cc:21:
> src/common/st_node.h:55: warning: type qualifiers ignored on function return type
> src/common/st_node.h:59: warning: type qualifiers ignored on function return type
> In file included from src/common/st_net.h:19,
> from src/swig/vbs_api.cc:23:
> src/stmt/stmtbase.h:51: error: extra ';'
> src/stmt/stmtbase.h:52: error: extra ';'
> src/stmt/stmtbase.h:53: error: extra ';'
> src/stmt/stmtbase.h:54: error: extra ';'
> src/stmt/stmtbase.h:55: error: extra ';'
> src/stmt/stmtbase.h:76: error: extra ';'
> src/stmt/stmtbase.h:77: error: extra ';'
> src/stmt/stmtbase.h:78: error: extra ';'
> src/stmt/stmtbase.h:79: error: extra ';'
> src/stmt/stmtbase.h:80: error: extra ';'
--- src/stmt/stmtbase.h~ 2007-04-27 08:26:20.000000000 +0000
+++ src/stmt/stmtbase.h 2007-04-27 08:27:15.000000000 +0000
@@ -48,11 +48,11 @@
virtual void operator()(systask_readmemb *) const {}
virtual void operator()(systask_readmemh *) const {}
virtual void operator()(systask_strobe *) const {}
- virtual void operator()(systask_dumpon *) const {};
- virtual void operator()(systask_dumpoff *) const {};
- virtual void operator()(systask_dumpall *) const {};
- virtual void operator()(systask_dumpvars *) const {};
- virtual void operator()(systask_dumpfile *) const {};
+ virtual void operator()(systask_dumpon *) const {}
+ virtual void operator()(systask_dumpoff *) const {}
+ virtual void operator()(systask_dumpall *) const {}
+ virtual void operator()(systask_dumpvars *) const {}
+ virtual void operator()(systask_dumpfile *) const {}
virtual void operator()(sysfunc_time *) const {}
virtual void operator()(sysfunc_random *) const {}
virtual void operator()(task_enable_stmt *) const {}
@@ -73,11 +73,11 @@
virtual bool operator()(systask_readmemb *) const { return true; }
virtual bool operator()(systask_readmemh *) const { return true; }
virtual bool operator()(systask_strobe *) const { return true; }
- virtual bool operator()(systask_dumpon *) const {return true ;};
- virtual bool operator()(systask_dumpoff *) const {return true ;};
- virtual bool operator()(systask_dumpall *) const {return true ;};
- virtual bool operator()(systask_dumpvars *) const {return true ;};
- virtual bool operator()(systask_dumpfile *) const {return true ;};
+ virtual bool operator()(systask_dumpon *) const {return true ;}
+ virtual bool operator()(systask_dumpoff *) const {return true ;}
+ virtual bool operator()(systask_dumpall *) const {return true ;}
+ virtual bool operator()(systask_dumpvars *) const {return true ;}
+ virtual bool operator()(systask_dumpfile *) const {return true ;}
virtual bool operator()(sysfunc_time *) const { return true; }
virtual bool operator()(sysfunc_random *) const { return true; }
virtual bool operator()(task_enable_stmt *) const { return true; }
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: