NFFT / nfft

The official NFFT library repository
https://tu-chemnitz.de/~potts/nfft/
GNU General Public License v2.0
174 stars 45 forks source link

Build of Octave interface fails in fastsummex #50

Closed tvolkmer closed 7 years ago

tvolkmer commented 7 years ago

I just noticed that compiling nfft with Octave support fails in fastsummex in the branch develop and release/3.4.0 with the code from #39 / #47. GCC error message:

fastsummex.c:267:27: error: 'INT_MAX' undeclared (first use in this function)
     if (mxGetM(prhs[2]) > INT_MAX)

The INT_MAX macro seems to be available via the MATLAB MEX interface but not by the Octave MEX interface. The INT_MAX macro is defined for glibc in limits.h and this is included by MATLAB tmwtypes.h included by matrix.h included by mex.h.

tvolkmer commented 7 years ago

already fixed in #53