I understand the data symbol _environ should not be used as outlined in MSDN documentation. That said, libgnat.a from MinGW-w64 6.0.0 (as installed via pacman in MSYS2) still uses it
I suitably modified ucrtbase.def to add _environ DATA rebuilt the import libraries and all is well. So I am wondering if these deprecated symbols should be added to ucrtbase.def, or if libgnat.a should be rebuilt to not use the deprecated functions. I think the latter is the right thing to do, but until that can be accomplished, the low hanging fruit is to update the export definition files. Thoughts? _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
