Le mer. 29 nov. 2023 à 12:29, Martin Storsjö <[email protected]> a écrit : > > On Wed, 29 Nov 2023, Antonin Décimo wrote: > > > Microsoft considers these POSIX function names to be deprecated, and > > provides alternative names starting with an underscore. A deprecation > > warning is raised if the old names are used, which can alternatively > > be disabled with the _CRT_NONSTDC_NO_WARNINGS macro. > > > > https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4996?view=msvc-170#posix-function-names > > > > Signed-off-by: Antonin Décimo <[email protected]> > > --- > > mingw-w64-libraries/winpthreads/src/thread.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Personally, for cases like these (for codebases that primarily build in > mingw environments, and/or code which might even be built in other > environments), I would suggest just enabling _CRT_NONSTDC_NO_WARNINGS when > building with MSVC. I don't foresee MS removing support for these > functions anytime soon despite the deprecation warnings, and if they do, > we can act on it then. > > But that's just my 2 cents on this matter.
Sounds fine to me, let's get down to some Autoconf hacking! _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
