Compiling with gcc-4.3
Dupuis
Pascal.Dupuis at worldonline.be
Thu Jan 24 14:50:05 CST 2008
Hello,
Debian SID is migrating to gfortran. A first lib, libblas3gf, appeared,
compiled with gfortran-4.3. I tried to compile and link octave3.0 against
it. The headers in g++-4.3 where cleanup up, see
http://gcc.gnu.org/gcc-4.3/porting_to.html
for more information. This patch against octave3.0 makes g++ happy:
--- src/mxarray.h.orig 2008-01-24 12:06:26.000000000 +0100
+++ src/mxarray.h 2008-01-24 12:12:18.000000000 +0100
@@ -90,6 +90,8 @@
#if ! defined (MXARRAY_TYPEDEFS_ONLY)
+#include <cstring>
+
class octave_value;
#define DO_MUTABLE_METHOD(RET_T, METHOD_CALL) \
This was the only change required to the the compilation working.
Regards
Pascal Dupuis
--
View this message in context: http://www.nabble.com/Compiling-with-gcc-4.3-tp15074685p15074685.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
More information about the Octave-maintainers
mailing list