[Bug c++/33660] gettid has not been declared

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 4 18:40:00 GMT 2007



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



More information about the Gcc-bugs mailing list