ICB-DCM / LNAplusplus

LNA++: a Fast C++ Implementation of the Linear Noise Approximation with first- and second-order sensitivities
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Warning #13

Closed JanHasenauer closed 6 years ago

JanHasenauer commented 6 years ago

For all the models I get warnings of the type

Building with 'Xcode with Clang'. /usr/bin/xcrun -sdk macosx10.13 clang -c -DTARGET_API_VERSION=700 -DUSE_MEX_CMD -DMATLAB_MEX_FILE -Ichain3/C -I"/Applications/MATLAB_R2017a.app/extern/include" -I"/Applications/MATLAB_R2017a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -O2 -fwrapv -DNDEBUG /Users/jan.hasenauer/Documents/02_work/05_matlab/LNAplusplus/models/chain3/C/Afunc.c -o /Users/jan.hasenauer/Documents/02_work/05_matlab/LNAplusplus/models/chain3/C/Afunc.o /Users/jan.hasenauer/Documents/02_work/05_matlab/LNAplusplus/models/chain3/C/Afunc.c:5:10: warning: incompatible pointer types initializing 'double ()[3][3]' with an expression of type 'double ' [-Wincompatible-pointer-types] double (*A0)[3][3] = &varOut[0]; ^ ~~ 1 warning generated.

/usr/bin/xcrun -sdk macosx10.13 clang -c -DTARGET_API_VERSION=700 -DUSE_MEX_CMD -DMATLAB_MEX_FILE -Ichain3/C -I"/Applications/MATLAB_R2017a.app/extern/include" -I"/Applications/MATLAB_R2017a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -O2 -fwrapv -DNDEBUG /Users/jan.hasenauer/Documents/02_work/05_matlab/LNAplusplus/models/chain3/C/Efunc.c -o /Users/jan.hasenauer/Documents/02_work/05_matlab/LNAplusplus/models/chain3/C/Efunc.o /Users/jan.hasenauer/Documents/02_work/05_matlab/LNAplusplus/models/chain3/C/Efunc.c:5:10: warning: incompatible pointer types initializing 'double ()[6][3]' with an expression of type 'double ' [-Wincompatible-pointer-types] double (*A0)[6][3] = &varOut[0]; ^ ~~ 1 warning generated.

dweindl commented 6 years ago

This is rather messy, but it's working. Just disabling the warning here for now.