echo "#include <math.h>" > buggy.c
g++ -O1 -pedantic buggy.c

And so the errors begin ...

| /usr/include/bits/mathinline.h: In function 'double __atan(double)':
| /usr/include/bits/mathinline.h:128: error: declaration of 'double 
__atan(double) ' throws different exceptions
| /usr/include/bits/mathcalls.h:59: error: than previous declaration 'double 
__ata n(double) throw ()'
| /usr/include/bits/mathinline.h: In function 'float __atanf(float)': 
/usr/include/bits/mathinline.h:128: error: declaration of 'float 
__atanf(float)' throws different exceptions

 [...]

Dropping either -O1 or -pedantic is a workaround, clearly related to 
__USE_EXTERN_INLINES.

Please let me know if there's anything else I can do to help.

Thanks,

Stephen

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to