Install picky compiler mode.
This commit is contained in:
1 parent
765e68032e
commit
4b0e3568b4
2 files changed
+20
-6
No files matched your search
@@ -67,9 +67,16 @@ function varargout = mex_compute_press_flux(varargin)
|
||||
% $Date$
|
||||
% $Revision$
|
||||
|
||||
buildmex -O -largeArrayDims -DCOMPILING_FOR_MATLAB=1 ...
|
||||
mex_compute_press_flux.c hybsys.c ...
|
||||
-lmwlapack -lmwblas
|
||||
buildmex CFLAGS="\$CFLAGS -Wall -Wextra -ansi -pedantic ...
|
||||
-Wformat-nonliteral -Wcast-align -Wpointer-arith ...
|
||||
-Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes ...
|
||||
-Wmissing-declarations -Winline -Wundef -Wnested-externs ...
|
||||
-Wcast-qual -Wshadow -Wconversion -Wwrite-strings ...
|
||||
-Wno-conversion -Wchar-subscripts -Wredundant-decls" ...
|
||||
...
|
||||
-O -largeArrayDims -DCOMPILING_FOR_MATLAB=1 ...
|
||||
mex_compute_press_flux.c hybsys.c ...
|
||||
-lmwlapack -lmwblas
|
||||
|
||||
% Call MEX'ed edition.
|
||||
[varargout{1:nargout}] = mex_compute_press_flux(varargin{:});
|
||||
|
||||
+10
-3
@@ -65,9 +65,16 @@ function varargout = mex_ip_simple(varargin)
|
||||
% $Date$
|
||||
% $Revision$
|
||||
|
||||
buildmex -O -largeArrayDims -DCOMPILING_FOR_MATLAB=1 ...
|
||||
mex_ip_simple.c mimetic.c mrst_api.c ...
|
||||
-lmwlapack -lmwblas
|
||||
buildmex CFLAGS="\$CFLAGS -Wall -Wextra -ansi -pedantic ...
|
||||
-Wformat-nonliteral -Wcast-align -Wpointer-arith ...
|
||||
-Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes ...
|
||||
-Wmissing-declarations -Winline -Wundef -Wnested-externs ...
|
||||
-Wcast-qual -Wshadow -Wconversion -Wwrite-strings ...
|
||||
-Wno-conversion -Wchar-subscripts -Wredundant-decls" ...
|
||||
...
|
||||
-O -largeArrayDims -DCOMPILING_FOR_MATLAB=1 ...
|
||||
mex_ip_simple.c mimetic.c mrst_api.c ...
|
||||
-lmwlapack -lmwblas
|
||||
|
||||
% Call MEX'ed edition.
|
||||
[varargout{1:nargout}] = mex_ip_simple(varargin{:});
|
||||
|
||||
Reference in new issue
Block a user