Hello Martin, I managed to get gcc-snapshot from another mirror. I fixed the compilation error with gcc-4.3, but there are still deprecation warnings. I shall examine them later.
Best regards, Georges. Martin Michlmayr a écrit : > Package: chemeq > Version: 1.9 > 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 chemeq_1.9 on coconut0 by sbuild/ia64 0.49 > ... > > g++ -g -O1 -c chemeq.cc > > chemeq.cc:238: warning: deprecated conversion from string constant to > > 'char*' > > chemeq.cc:238: warning: deprecated conversion from string constant to > > 'char*' > > chemeq.cc:238: warning: deprecated conversion from string constant to > > 'char*' > > chemeq.cc: In member function 'void Membre::printNernst(std::ostream&)': > > chemeq.cc:413: warning: deprecated conversion from string constant to > > 'char*' > > chemeq.cc:415: warning: deprecated conversion from string constant to > > 'char*' > > chemeq.cc: In function 'double mendelweight(int)': > > chemeq.cc:646: error: 'strtod' was not declared in this scope > > make[2]: *** [chemeq.o] Error 1 > > --- src/chemeq.cc~ 2007-04-01 16:39:46.000000000 +0000 > +++ src/chemeq.cc 2007-04-01 16:39:52.000000000 +0000 > @@ -1,6 +1,7 @@ > #include "chemeq.h" > #include <math.h> > #include <sstream> > +#include <cstdlib> > > atome lesatomes[] ={ > {-1, "e"}, > > -- > Martin Michlmayr > http://www.cyrius.com/ > > -- Georges KHAZNADAR et Jocelyne FOURNIER 22 rue des mouettes, 59240 Dunkerque France. Téléphone +33 (0)3 28 29 17 70
signature.asc
Description: Digital signature

