[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Therion] Fw: Bug#413417: FTBFS with GCC 4.3: 'INT_MAX' was not declared
From: |
Wookey |
Subject: |
[Therion] Fw: Bug#413417: FTBFS with GCC 4.3: 'INT_MAX' was not declared in this scope |
Date: |
Fri, 23 Mar 2007 22:03:32 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
I'll put this in the debian package, but it should go in the standard
sources too.
----- Forwarded message from Martin Michlmayr <address@hidden> -----
From: Martin Michlmayr <address@hidden>
Date: Sun, 4 Mar 2007 21:40:03 +0000
To: address@hidden
Subject: Bug#413417: FTBFS with GCC 4.3: 'INT_MAX' was not declared in this
scope
Reply-To: Martin Michlmayr <address@hidden>, address@hidden
X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham
version=3.0.3, No
Package: therion
Version: 0.3.10-3
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. A patch for this problem is
below.
> Automatic build of therion_0.3.10-3 on em64t by sbuild/amd64 0.53
...
> g++ -c -Wall -DTHLINUX -O2 -o thpdf.o thpdf.cxx
> In file included from thchencdata.h:11,
> from thchenc.h:32,
> from thpdf.cxx:54:
> thparse.h:126: warning: deprecated conversion from string constant to 'char*'
> thparse.h:126: warning: deprecated conversion from string constant to 'char*'
> thparse.h:138: warning: deprecated conversion from string constant to 'char*'
> thparse.h:138: warning: deprecated conversion from string constant to 'char*'
> thparse.h:138: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> thparse.h:191: warning: deprecated conversion from string constant to 'char*'
> In file included from thchenc.h:32,
> from thpdf.cxx:54:
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thchencdata.h:50: warning: deprecated conversion from string constant to
> 'char*'
> thpdf.cxx: In function 'void make_sheets()':
> thpdf.cxx:260: error: 'INT_MAX' was not declared in this scope
> thpdf.cxx:262: error: 'INT_MIN' was not declared in this scope
> thpdf.cxx: In function 'void print_surface_bitmaps(std::ofstream&, double,
> double)':
> thpdf.cxx:836: warning: suggest parentheses around && within ||
> thpdf.cxx: In function 'void build_pages()':
> thpdf.cxx:1333: warning: deprecated conversion from string constant to 'char*'
> thpdf.cxx:1337: warning: deprecated conversion from string constant to 'char*'
> thpdf.cxx:1341: warning: deprecated conversion from string constant to 'char*'
> make[1]: *** [thpdf.o] Error 1
> make[1]: Leaving directory `/build/tbm/therion-0.3.10'
> make: *** [build-stamp] Error 2
--- thpdf.cxx~ 2007-03-04 21:25:58.000000000 +0000
+++ thpdf.cxx 2007-03-04 21:27:33.000000000 +0000
@@ -35,6 +35,8 @@
#include <set>
#include <string>
+#include <limits.h>
+
// #include <cstring>
#include <cstdio>
#include <cfloat>
--
Martin Michlmayr
http://www.cyrius.com/
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
----- End forwarded message -----
Wookey
--
Principal hats: Balloonz - Toby Churchill - Aleph One - Debian
http://wookware.org/
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Therion mailing list
address@hidden
http://www.speleo.sk/mailman/listinfo/therion
- [Therion] Fw: Bug#413417: FTBFS with GCC 4.3: 'INT_MAX' was not declared in this scope,
Wookey <=