This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,I thought this was already history, because it's a Dup.
include/random has
#ifdef _GLIBCXX_USE_C99_STDINT_TR1
#include <cstdint> // For uint_fast32_t, uint_fast64_t, uint_least32_t #include <bits/random.h> #include <bits/random.tcc>
#endif // _GLIBCXX_USE_C99_STDINT_TR1
random_device is defined in <bits/random.h>. But src/c++11/random.cc has
#include <random> ... void random_device::_M_init(const std::string& token) {
It doesn't check if _GLIBCXX_USE_C99_STDINT_TR1 is defined. This patch checks it. OK to install?
Thanks! Paolo.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |