The gcc documentation for -mthreads says:

-mthreads
           Support thread-safe exception handling on MinGW.  Programs
           that rely on thread-safe exception handling must compile and
           link all code with the -mthreads option.  When compiling,
           -mthreads defines -D_MT; when linking, it links in a special
           thread helper library -lmingwthrd which cleans up per-thread
           exception-handling data.


But, AFAIK, -mthreads is unnecesary nowadays and mingwthrd is just a
stub. Is this correct?

I'm planning to submit a patch to gcc for obsoleting the switch.



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to