Author Topic: MingW Runtime 3.10 - bug in math.h  (Read 2426 times)

Offline MaxGaspa

  • Almost regular
  • **
  • Posts: 133
MingW Runtime 3.10 - bug in math.h
« on: July 08, 2006, 09:56:55 am »
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
       >
       


               

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: MingW Runtime 3.10 - bug in math.h
« Reply #1 on: July 08, 2006, 08:58:39 pm »
Hello,

Thanks for the info :).

Best wishes,
Michael