[Pkg-electronics-devel] Bug#504853: FTBFS with GCC 4.4: missing #include
Martin Michlmayr
tbm at cyrius.com
Fri Nov 7 17:05:11 UTC 2008
Package: verilog
Version: 0.8.6-1
User: debian-gcc at lists.debian.org
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 cleaned up some more C++ headers. You always have to #include
headers directly and cannot rely for things to be included indirectly.
You can reproduce this problem with gcc-snapshot from unstable.
> Automatic build of verilog_0.8.6-1 on em64t by sbuild/amd64 0.53
...
> functor.h:22:2: warning: #ident is a deprecated GCC extension
> ./syn-rules.y: In function 'int syn_lex()':
> ./syn-rules.y:408: error: 'EOF' was not declared in this scope
> make[1]: *** [syn-rules.o] Error 1
> make[1]: Leaving directory `/build/tbm/verilog-0.8.6'
> make: *** [build-stamp] Error 2
--- syn-rules.y~ 2008-11-07 16:58:47.000000000 +0000
+++ syn-rules.y 2008-11-07 16:58:59.000000000 +0000
@@ -24,6 +24,7 @@
# include "config.h"
+# include <cstdio>
# include <iostream>
/*
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-electronics-devel
mailing list