Dear Christian,
don't worry with these warnings, they should be harmless and will be
removed at some point.
Also, note that you can compile all SPM8 MEX files from the src folder:
cd /Applications/spm8/src
make && make install
make toolbox-distclean && make toolbox && make toolbox-install
make external-distclean && make external && make external-install
Best regards,
Guillaume.
Christian Kaufmann wrote:
> Dear John,
>
> when compiling DARTEL registration C code I get some warnings for
> dartel2.c refering to signedness differences (see platform info below).
> As I don't know what's going on here I'm a little bit worried about
> whether this might be harmful. I would be glad to hear that there are no
> obvious problems with these warnings :-)
>
> Thanks!
>
> Christian
>
>
> % Matlab warnings & ver info:
>
>>> cd /Applications/spm8/toolbox/DARTEL/
>>> ! make
> mex -O dartel2.c optimizer2d.c diffeo2d.c
> dartel2.c: In function 'dartel_mexFunction':
> dartel2.c:68: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c:69: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'cgs2_mexFunction':
> dartel2.c:125: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'fmg2_mexFunction':
> dartel2.c:183: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'rsz_mexFunction':
> dartel2.c:218: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'vel2mom_mexFunction':
> dartel2.c:250: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'comp_mexFunction':
> dartel2.c:296: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c:322: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c:341: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'exp_mexFunction':
> dartel2.c:380: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c:396: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'expdet_mexFunction':
> dartel2.c:432: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c:446: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> dartel2.c: In function 'brc_mexFunction':
> dartel2.c:483: warning: pointer targets in passing argument 2 of
> 'mxCreateNumericArray_700' differ in signedness
> mex -O dartel3.c optimizer3d.c diffeo3d.c
>>>
>>> ver
> -------------------------------------------------------------------------------------
>
> MATLAB Version 7.8.0.8205 (R2009a) Beta (Mac Intel 64-bit)
> MATLAB License Number: beta
> Operating System: Mac OS X Version: 10.5.6 Build: 9G55
> Java VM Version: Java 1.5.0_16-b06-284 with Apple Inc. Java HotSpot(TM)
> 64-Bit Server VM mixed mode
> -------------------------------------------------------------------------------------
>
> MATLAB Version 7.8
> (R2009a Beta)
> Simulink Version 7.3
> (R2009a Beta)
> Image Processing Toolbox Version 6.3
> (R2009a Beta)
> MATLAB Compiler Version 4.10
> (R2009a Beta)
> Optimization Toolbox Version 4.2
> (R2009a Beta)
> Parallel Computing Toolbox Version 4.1
> (R2009a Beta)
> Partial Differential Equation Toolbox Version 1.0.14
> (R2009a Beta)
> Signal Processing Blockset Version 6.9
> (R2009a Beta)
> Signal Processing Toolbox Version 6.11
> (R2009a Beta)
> Spline Toolbox Version 3.3.6
> (R2009a Beta)
> Statistical Parametric Mapping Version 3042
> (SPM8)
> Statistics Toolbox Version 7.1
> (R2009a Beta)
>
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|