This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57163] Link failure with thread_local
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 May 2013 00:07:33 +0000
- Subject: [Bug c++/57163] Link failure with thread_local
- Auto-submitted: auto-generated
- References: <bug-57163-4 at http dot gcc dot gnu dot org/bugzilla/>
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; }
};
}