------- Comment #4 from razin at avaya dot com 2007-10-04 18:46 -------
(In reply to comment #3)
> Why should gettid be in namespace std? It's not a standard C++ function,
> so the header file declares it to be in the global namespace.
>
> W.
>
(In reply to comment #3)
> Why should gettid be in namespace std? It's not a standard C++ function,
> so the header file declares it to be in the global namespace.
>
> W.
>
Ok. That's just the test. I can remove namespace completely:
#include <sys/types.h>
#include <linux/unistd.h>
#include <errno.h>
int main()
{
gettid();
return 0;
}
Same result. Actually I figured it will bring up questions, sor
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33660