AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
January 29, 2015 11:39AM
Clang uses C99 inline semantics, which means these functions need to be declared static. Try this patch:
diff --git a/afni_src/mri_warp.c b/afni_src/mri_warp.c
index 2bc65d8..ef37ac5 100644
--- a/afni_src/mri_warp.c
+++ b/afni_src/mri_warp.c
@@ -23,7 +23,7 @@
 
 static float sx_scale , sy_scale ;  /* global scaler data */
 
-INLINE void xxMRI_scaler( float xpr, float ypr, float *xx , float *yy )
+static INLINE void xxMRI_scaler( float xpr, float ypr, float *xx , float *yy )
 {
    *xx = sx_scale * xpr ;
    *yy = sy_scale * ypr ;
@@ -338,7 +338,7 @@ MRI_IMAGE *mri_warp_bilinear( MRI_IMAGE *im , int nxnew , in
 
 static float rot_dx , rot_dy , rot_cph , rot_sph ;    /* global rotfunc data */
 
-INLINE void xxMRI_rotfunc( float xpr , float ypr , float *xx , float *yy )
+static INLINE void xxMRI_rotfunc( float xpr , float ypr , float *xx , float *yy
 {
    *xx =  rot_cph * xpr + rot_sph * ypr + rot_dx ;
    *yy = -rot_sph * xpr + rot_cph * ypr + rot_dy ;
Subject Author Posted

Building on Yosemite

roopchansinghv January 29, 2015 10:52AM

Re: Building on Yosemite

Isaac Schwabacher January 29, 2015 11:39AM

Re: Building on Yosemite

roopchansinghv January 29, 2015 03:03PM

Re: Building on Yosemite

Isaac Schwabacher January 29, 2015 03:24PM

Re: Building on Yosemite

roopchansinghv February 01, 2015 01:13PM

Re: Building on Yosemite

woot May 11, 2015 04:27PM

Re: Building on Yosemite

woot May 11, 2015 04:27PM

Re: Building on Yosemite

Isaac Schwabacher May 11, 2015 04:57PM