Bug#417193: FTBFS with GCC 4.3: missing #includes

2007-04-05 Thread Martin Michlmayr
* Michael Geng [EMAIL PROTECTED] [2007-04-02 21:39]:
 mycopy4_clp.h should be generated automatically from genparse. It was 
 not generated on your computer because genparse failed to build due 
 to other bugs. If genparse was successfully built then you would find
 the genparse executable in the src subdirectory.

You're correct.  Everything works now.
-- 
Martin Michlmayr
http://www.cyrius.com/


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



Bug#417193: FTBFS with GCC 4.3: missing #includes

2007-04-02 Thread Michael Geng
Hi Martin,

I'm one of the developers of genparse. I got this email because I'm
on the mailing list for genparse in Debian.

On Sun, Apr 01, 2007 at 08:33:03PM +0100, Martin Michlmayr wrote:
 Package: genparse
 Version: 0.5.2-11
 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.  In GCC 4.3, the C++ header
 dependencies have been cleaned up.  The advantage of this is that
 programs will compile faster.  The downside is that you actually
 need to directly #include everything you use (but you really should
 do this anyway, otherwise your program won't work with any compiler
 other than GCC).  Some background of this can be found at
 http://gcc.gnu.org/PR28080
 
 You can reproduce this problem with gcc-snapshot from unstable.
 
  Automatic build of genparse_0.5.2-11 on coconut0 by sbuild/ia64 0.49
 ...
  c++ -DHAVE_CONFIG_H -I. -I. -I..-Wstrict-prototypes  -g -O2 -c eh.cc
  cc1plus: warning: command line option -Wstrict-prototypes is valid for 
  Ada/C/ObjC but not for C++

I fixed this warning in September 2006. There are newer genparse releases 
available.
See http://sourceforge.net/projects/genparse.

  eh.cc: In member function 'void EH::action(std::string, std::string, int)':
  eh.cc:67: error: 'abort' was not declared in this scope
  make[3]: *** [eh.o] Error 1
  make[3]: Leaving directory `/build/tbm/genparse-0.5.2/src'
 
 --- src/eh.cc~2007-04-01 19:21:56.0 +
 +++ src/eh.cc 2007-04-01 19:22:01.0 +
 @@ -7,6 +7,7 @@
  **
  /
  
 +#include cstdlib

I will add this include in the next release of genparse.

  #include iostream
  #include sstream
  #include eh.h
 --- test/mycopy4.cc~  2007-04-01 19:23:45.0 +
 +++ test/mycopy4.cc   2007-04-01 19:23:50.0 +
 @@ -1,5 +1,6 @@
  /* mycopy4.cc */
  
 +#include cstdlib

I will also fix this.

  #include iostream
  #include fstream
  #include mycopy4_clp.h
 
 Note that the program still doesn't compile for me because of this:
 
 mycopy4.cc:6:25: error: mycopy4_clp.h: No such file or directory
 mycopy4.cc: In function 'int main(int, char**)':
 mycopy4.cc:18: error: 'Cmdline' was not declared in this scope

mycopy4_clp.h should be generated automatically from genparse. It was 
not generated on your computer because genparse failed to build due 
to other bugs. If genparse was successfully built then you would find
the genparse executable in the src subdirectory.

I hope I will find some time to install GCC 4.3 and fix any other bugs.

Michael


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



Bug#417193: FTBFS with GCC 4.3: missing #includes

2007-04-02 Thread Martin Michlmayr
Hi Michael,

* Michael Geng [EMAIL PROTECTED] [2007-04-02 21:39]:
 I'm one of the developers of genparse. I got this email because I'm
 on the mailing list for genparse in Debian.

Cool!

 mycopy4_clp.h should be generated automatically from genparse. It
 was not generated on your computer because genparse failed to build
 due to other bugs. If genparse was successfully built then you would
 find the genparse executable in the src subdirectory.

OK, I can try again, but only in a few days.

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


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



Bug#417193: FTBFS with GCC 4.3: missing #includes

2007-04-01 Thread Martin Michlmayr
Package: genparse
Version: 0.5.2-11
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.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot from unstable.

 Automatic build of genparse_0.5.2-11 on coconut0 by sbuild/ia64 0.49
...
 c++ -DHAVE_CONFIG_H -I. -I. -I..-Wstrict-prototypes  -g -O2 -c eh.cc
 cc1plus: warning: command line option -Wstrict-prototypes is valid for 
 Ada/C/ObjC but not for C++
 eh.cc: In member function 'void EH::action(std::string, std::string, int)':
 eh.cc:67: error: 'abort' was not declared in this scope
 make[3]: *** [eh.o] Error 1
 make[3]: Leaving directory `/build/tbm/genparse-0.5.2/src'

--- src/eh.cc~  2007-04-01 19:21:56.0 +
+++ src/eh.cc   2007-04-01 19:22:01.0 +
@@ -7,6 +7,7 @@
 **
 /
 
+#include cstdlib
 #include iostream
 #include sstream
 #include eh.h
--- test/mycopy4.cc~2007-04-01 19:23:45.0 +
+++ test/mycopy4.cc 2007-04-01 19:23:50.0 +
@@ -1,5 +1,6 @@
 /* mycopy4.cc */
 
+#include cstdlib
 #include iostream
 #include fstream
 #include mycopy4_clp.h

Note that the program still doesn't compile for me because of this:

mycopy4.cc:6:25: error: mycopy4_clp.h: No such file or directory
mycopy4.cc: In function 'int main(int, char**)':
mycopy4.cc:18: error: 'Cmdline' was not declared in this scope

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


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