schnozmeiser
05-05-2003, 02:17 PM
We've been using NR on pc and mac (10.1) for a while now, and moving along and compiling with gcc on OSX 10.2.5 results in an error.
The error is:
"... conflicting type for 'fmin' "
"... previous declaration of 'fmin' "
Where fmin is defined in math.h in the system libraries, as well as nr.h. I already tried -ansi, but it doesn't resolve the issue. I tried that after read a previous post with similar problems.
Is math.h from Apple non-ANSI-compliant? Any tips? Thanks!
The error is:
"... conflicting type for 'fmin' "
"... previous declaration of 'fmin' "
Where fmin is defined in math.h in the system libraries, as well as nr.h. I already tried -ansi, but it doesn't resolve the issue. I tried that after read a previous post with similar problems.
Is math.h from Apple non-ANSI-compliant? Any tips? Thanks!