This problem arose from testing my R (RcppParallel) package on windows through the win-builder-r, as for my mac there is not a problem.
"error: 'mt19937' is not a member of 'std'"
Additionally, this error comes first:
D:/Compiler/gcc-4.9.3/mingw_32/i686-w64-mingw32/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
A minimal example can be found from this earlier post, use the last : Calling 'mypackage' function within public worker