Can't instantiate std::random_device with -O1 or -O2 flags
VitalyVorobyev opened this issue · 0 comments
VitalyVorobyev commented
Any use of std::random_device
with -O1
or -O2
flags at Ubuntu 11.04 with g++-11 (Ubuntu 11.1.0-1ubuntu1~21.04) 11.1.0 leads to the following error:
terminate called after throwing an instance of 'std::runtime_error'
what(): random_device::random_device(const std::string&): unsupported token