http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57163
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Link failure with |Link failure with
|thread_local |thread_local
|std::default_random_engine |
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-05-04
00:07:33 UTC ---
In any case the actual std::default_random_engine doesn't play any special
role: the same error happens including, as test.h, something like
namespace std
{
struct default_random_engine
{
default_random_engine() { }
int operator()() { return 1; }
};
}