Thanks - that worked perfectly!
A couple of other caveats with compiling AFNI with clang:
- There was an error in Dimon.c where a non-void function (make_sorted_fim_list) was not returning a value (turns out one of the returns in that function did not have a value).
- I had to disable openmp when compiling with clang. The error was not finding omp.h, but till I figure out how to get Yosemite's clang enabled with openmp, I had to turn it off. I doubt this will hurt too much on an Air laptop ...
Thanks again!