This is the mail archive of the gcc-bugs@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]

[Bug c++/57163] Link failure with thread_local


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; }
  };
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]