https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494
Dimitrij Mijoski <dmjpp at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmjpp at hotmail dot com
--- Comment #2 from Dimitrij Mijoski <dmjpp at hotmail dot com> ---
I have created a patch that fixes this for mingw-w64 using rand_s()
https://msdn.microsoft.com/en-us/library/sxtz2fa8.aspx
It does not work with mingw.org (reverts to mt19973 as now). mingw.org does not
have rand_s() declared in its headers.