Thanks!

Jehan

On Tue, Mar 24, 2020 at 3:19 AM Liu Hao <[email protected]> wrote:

> 在 2020/3/24 5:45, Jehan Pagès 写道:
> > Hi all!
> >
> > I had some issues with the *_EPSILON constants on building a project
> > (actually I remember this issue so I think I had it on other projects,
> but
> > back then I think I just fixed in the project code with some #ifndef
> > #define instead of properly fixing the source of the bug in Mingw-w64;
> > fixing my own past mistake!).
> >
> > According to Microsoft docs (
> >
> https://docs.microsoft.com/en-us/cpp/c-runtime-library/data-type-constants?view=vs-2019
> )
> > these should be defined in float.h. I can see that Mingw-w64 version of
> > this header defines a whole bunch of other macros of the same family, but
> > not these ones. So I added the #define-s next to the others using the
> same
> > coding style.
> >
> > Attached is the patch for review and hopefully soon pushed on the
> > repository! :-)
> > Thanks.
> >
> > Jehan
> >
> >
> >
>
> Thanks for catching this. I pushed the patch.
>
> N.B. Aside from Microsoft, ISO C requires these macros too.
>
>
>
> --
> Best regards,
> LH_Mouse
>
>

-- 
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to