Hi,
For those using the latest runtime (3.10)
There is a bug in the header math.h
Hereafter the related report and dev reply.
Hope this helps, Massimo
From: David Ergo <david.ergo@al...>
bug in mingw runtime 3.10  
2006-07-05 23:42
 Hi,
 
 There are '#' extra characters at beginning of lines 298 and 300 in file
 include\math.h :
 
 Lines 297-300 :
 #else
 #extern const float __INFF;
 #define HUGE_VALF __INFF
 #extern const long double  __INFL;
 
 should be :
 #else
 extern const float __INFF;
 #define HUGE_VALF __INFF
 extern const long double  __INFL;
 
 The bug prevents compilation.
 
 -- 
 David Ergo
 
 Alterface s.a.
 
         
      From: Danny Smith <dannysmith@cl...>
      Re: bug in mingw runtime 3.10  
      2006-07-06 00:38
       
       > David Ergo
       > Sent: Thursday, July 06, 2006 6:43 PM
       > Hi,
       > 
       > There are '#' extra characters at beginning of lines 298 and 
       > 300 in file include\math.h :
       > 
       > Lines 297-300 :
       > #else
       > #extern const float __INFF;
       > #define HUGE_VALF __INFF
       > #extern const long double  __INFL;
       > 
       > should be :
       > #else
       > extern const float __INFF;
       > #define HUGE_VALF __INFF
       > extern const long double  __INFL;
       > 
       
       Thanks for report.  Fixed in CVS.
       Danny
       
       > The bug prevents compilation.
       > -- 
       > David Ergo
       >