Ah, OK. That makes sense.

________________________________
From: Martin Storsjö <mar...@martin.st>
Sent: Saturday, June 30, 2018 4:15 PM
To: mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] wcstof redefined error

On Sat, 30 Jun 2018, Zachary Greve wrote:

> It appears that wcstof is implemented in stdlib.h, but when compiling
> the crt it is redefined in misc/wcstof.c, terminating the compilation.
> That is somewhat annoying when trying to build a MinGW-w64 toolchain.

wcstof is only implemented in stdlib.h if you have __USE_MINGW_ANSI_STDIO
defined while building, and this shouldn't be defined globally when you're
building mingw-w64. I don't see this error when I'm building things.

Do you have something in your environment that injects this define into
the build process somehow?

// Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to