------- Comment #2 from pinskia at gcc dot gnu dot org 2007-10-04 18:40 ------- And this is not a bug with GCC or libstdc++ as gettid is an GNU libc extension.
Try using gettid instead of std::gettid. Doing that and qualifying endl with std:: allows for this program to compile. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33660