Bug#417486: [Pkg-octave-devel] Bug#417486: FTBFS with GCC 4.3:
missing #includes
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Apr 2 21:41:58 UTC 2007
I expect that some 2.9.x version of Octave will be declared the
recommended version of Octave before GCC 4.3 (or maybe even GCC 4.2)
is released, so I don't have any plans to fix these problems in my
2.1.x sources. You're of course free to fix them in the Debian
packages.
I'd be much more interested in whether Octave 2.9.10 builds cleanly
with GCC 4.2 and 4.3.
jwe
On 2-Apr-2007, Martin Michlmayr wrote:
| Package: octave2.1
| Version: 1:2.1.73-13
| Usertags: ftbfs-gcc-4.3
|
| 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 (20070326-1 or higher)
| from unstable. I'll try to look into this problem but I don't know when
| I'll have time.
|
|
| > Automatic build of octave2.1_1:2.1.73-13 on coconut0 by sbuild/ia64 0.49
| ...
| > /usr/bin/g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -Wall -W -Wshadow -O2 data-conv.cc -o pic/data-conv.o
| > data-conv.cc: In static member function 'static void oct_data_conv::string_to_data_type(const std::string&, int&, oct_data_conv::data_type&, oct_data_conv::data_type&)':
| > data-conv.cc:280: error: 'atoi' was not declared in this scope
| > data-conv.cc: In static member function 'static void oct_data_conv::string_to_data_type(const std::string&, int&, oct_data_conv::data_type&)':
| > data-conv.cc:344: error: 'atoi' was not declared in this scope
| > make[3]: *** [pic/data-conv.o] Error 1
| > make[3]: Leaving directory `/build/tbm/octave2.1-2.1.73/liboctave'
|
| --
| Martin Michlmayr
| http://www.cyrius.com/
|
|
| _______________________________________________
| Pkg-octave-devel mailing list
| Pkg-octave-devel at lists.alioth.debian.org
| http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel
More information about the Pkg-octave-devel
mailing list