On Sat, 25 Nov 2017, Sven Kretzschmar wrote:
Thanks for your WIP stdio_s.h . That helped a lot. I had to add another func (swprintf_s) & I had to comment out 3 of your wip functions, because there is no "__stdio_common_vfscanf_s" internal func in MS ucrtbase. I have attached my modified stdio_s.h & wchar_s.h file if you want to have a look if I did that right. Changes are framed - a bit unorthodox - by /* NEW SK */ ...
I'll see later if I get more time to dig into this again...
However, I am getting a new error now, when compiling Julia sources with the ucrtbase version of gcc - see below ERROR #4. I think you mentioned somewhere that you excluded "tzset" from the "ucrtbase autoexport" patch, because this led to an "infinite recursion" or similar. But by looking at the below error, it seems that it is still needed to be excluded somehow. Do you have any ideas for an additional/different patch to address this ? (Preferably not requiring to explicitly exclude linkage via -Wl linker flags, as all this is happing somewhere deep inside the big Makefile & CMake build system for Julia ?
Yes, it seems I overlooked some other detail relating to the tzset function (not the thing I mentioned earlier) - see the patch I just posted - that should fix this issue.
// 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 [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
