News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

MingW Runtime 3.10 - bug in math.h

Started by Max, July 08, 2006, 09:56:55 AM

Previous topic - Next topic

Max

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
       >
       


               

Michael

Hello,

Thanks for the info :).

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]