Wow - it sure sounds like you are not really running GCC, despite everything - I can't IMAGINE how that code could matter otherwise... And there are 100s of Solaris users out there... (well, just over 100 unique users anyway)
-----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 1:14 AM To: [email protected] Subject: RE: [Ntop] Graphs don't look quite right To fix for Solaris only , only tested with the SFW GCC for SOLX86 10. SOLX86 9. In myrrd/rrd_tool.h remove the lines at line 98 #if !defined(__GNUC__) #define isnan _isnan #define isinf(a) (_fpclass(a) == _FPCLASS_NINF || _fpclass(a) == _FPCLASS_PINF) #endif Not sure why but the fix did not work till I removed the above.. Although it is only meant to be included in windows builds. In myrrd/config_aux.h remove all the old isinf lines (just in case) and add the following Yes, you shouldn't need the HAVE_ISINF, I left it in just in case.... # define HAVE_ISINF 1 # define isinf(x) (!finite(x) && !isnan(x)) ********************************************************************** Any personal or sensitive information contained in this email and attachments must be handled in accordance with the Victorian Information Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 (Commonwealth), as applicable. This email, including all attachments, is confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this email or attachments. Any confidentiality or privilege is not waived or lost because this email has been sent to you in error. If you have received it in error, please let us know by reply email, delete it from your system and destroy any copies. ********************************************************************** _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
