Problem with /usr/include/sys/thread.h

Joerg Sonnenberger joerg at britannica.bec.de
Sun Apr 15 06:26:19 PDT 2007


On Sun, Apr 15, 2007 at 03:29:26PM +0300, Hasso Tepper wrote:
> There is string "template" used in two places (line 334 and 408). It
> causes problems for C++ in which template is reserved keyword.

C++ programs are not really supposed to include sys/thread.h as they
will quite likely hit enough other issues in them.

Joerg





More information about the Kernel mailing list