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  

|
February 27, 2004 02:11PM
Hello Fellow Developers:

In SUMA_help.c lines 481 and 491 a non-portable syntax is used. This syntax will likely work on gcc complers, but not others.

These errors come from the intel icc compiler:

SUMA_help.c(481): error: expression must have a constant value
case (int)((2.48*ti)):
^

SUMA_help.c(491): error: expression must have a constant value
case (int)((2.45*ti));

where ti=10000

The fix is quite easy, just replace 2.48*ti with 24800 and 2.45*ti with 24500.

Regards,
Hans J. Johnson
hans-johnson@uiowa.edu
Subject Author Posted

SUMA Coding Errors

Hans J. Johnson February 27, 2004 02:11PM

Re: SUMA Coding Errors

Ziad S. Saad March 03, 2004 10:40AM