https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-23 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to ookawa_mi from comment #0) > As the main purpose of random_device is seed of mt19937, it is inappropriate. It has more uses than just that. > Please replace to REAL random number generator by rand_s or CryptoAPI. Confirmed.