![]() |
maemo-sdk: error: 'NAN'/'INFINITY' undeclared
When compiling code on scratchbox2 I got
error: 'NAN' undeclared and error: 'INFINITY' undeclared I made simple test case, and it seems there are no defined NAN or INFINITY. Same code complies under Ubuntu. I checked math.h and nan.h. Code:
diff -u /usr/include/math.h ~/.maemo-sdk/rootstraps/armel/fremantle5.0minimal_armel/usr/include/math.h Code with workaround. Why this workaround is needed? Code:
#include <math.h> |
All times are GMT. The time now is 21:46. |
vBulletin® Version 3.8.8