https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494
Bug ID: 85494 Summary: implementation of random_device on mingw is useless Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ookawa_mi at yahoo dot co.jp Target Milestone: --- In mingw environment, std::random_device uses mt19937 with fixed seed. As the main purpose of random_device is seed of mt19937, it is inappropriate. Please replace to REAL random number generator by rand_s or CryptoAPI.