On Wed, 23 Dec 2009, Przemysław Czerpak wrote: hi,
sorry to be so blunt, but the more i read, the less i understand ;) > isinf() and isfinite() are C99 extensions so they are not available if > C99 features are not enabled. > There is problem with non GCC unix builds - they do not use HB_MATH_ERRNO > handler (I'll fix it in next commit) and it's the reason why current > src/rtl/math.c. do not need ieeefp.h. ok, so there are two places where this is used, in src/rtl/math.c:334 onwards and src/vm/itemapi.c:2250 onwards. they are even used for the same purpose, to check whether or not to signal a range error of sorts on a numeric argument. yet the one in itemapi.c is a macro with a screenful of tests for platforms and compilers and whatnot, whereas the one in math.c is a very simple conditional for os2-sunos-all-the-rest. notably, it doesn't have a special case for os/2 -- nb i do not know if "defined( __RSXNT__ ) || defined( __EMX__ )" covers _all_ of os2; if it does, then scratch this last remark, but then the notation is inconstent. why is this difference? (i probably should have picked something less hardcore...) -- [-] mkdir /nonexistent _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
