This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33660] gettid has not been declared
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2007 18:40:09 -0000
- Subject: [Bug c++/33660] gettid has not been declared
- References: <bug-33660-12777@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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