[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 2.9.6 available for ftp
From: |
John W. Eaton |
Subject: |
Re: Octave 2.9.6 available for ftp |
Date: |
Fri, 9 Jun 2006 18:52:01 -0400 |
On 9-Jun-2006, Tom Holroyd (NIH/NIMH) [E] wrote:
| $ g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2
dynamic-ld.cc -o pic/dynamic-ld.o
| dynamic-ld.cc: In member function `bool octave_dynamic_loader::do_load(const
| std::string&, const std::string&)':
| dynamic-ld.cc:268: ISO C++ forbids casting between pointer-to-function and
| pointer-to-object
| $ g++ -v
| Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
| Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
| Thread model: posix
| gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-54)
GCC 3.2 is old and this is a bug in GCC, not Octave.
But, if you want to stick with GCC 3.2 you can work around the bug by
using a C-style cast instead of a C++ reinterpret_cast.
jwe
Re: Octave 2.9.6 available for ftp, Thomas Weber, 2006/06/10
Re: Octave 2.9.6 available for ftp, Bill Denney, 2006/06/11