octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling with gcc-4.3


From: Dupuis
Subject: Compiling with gcc-4.3
Date: Thu, 24 Jan 2008 12:50:05 -0800 (PST)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]