Commit b8aae7bb authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix underscoring problems with Fortran code

parent 81342073
......@@ -51,7 +51,7 @@ case ${MATLAB_ARCH} in
win32 | win64)
MATLAB_CFLAGS="-fexceptions -g -O2"
MATLAB_CXXFLAGS="-g -O2"
MATLAB_FFLAGS="-fexceptions -g -O2"
MATLAB_FFLAGS="-fexceptions -g -O2 -fno-underscoring"
AX_COMPARE_VERSION([$MATLAB_VERSION], [eq], [7.0.1], [AC_MSG_ERROR([MATLAB version 7.0.1 (R14SP1) is buggy (LAPACK library missing for MSVC), and can't be used for compiling MEX files])])
MATLAB_DEFS="$MATLAB_DEFS -DNDEBUG"
# Note that static-libstdc++ is only supported since GCC 4.5 (but generates no error on older versions)
......
......@@ -63,8 +63,8 @@
typedef int mwSize;
#endif
#if defined(__linux__) || defined(OCTAVE)
#define sb02od sb02od_
#if !defined(MATLAB_MEX_FILE) || !defined(_WIN32)
# define sb02od sb02od_
#endif
extern "C"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment