configure's __thread test
Faried Nawaz <[email protected]> Sat, 22 Nov 2003 15:56:52 -0800
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Organization | Integral Domains |
| Message-ID | <[email protected]> |
__thread isn't used in any .c files, but the configure script tests for
it. gcc's docs say
The `__thread' specifier may be applied to any global, file-scoped
static, function-scoped static, or static data member of a class. It
may not be applied to block-scoped automatic or non-static data member.
The code that the configure script tries to compile is
#include "confdefs.h"
int main() {
__thread int testvar;
; return 0; }
which, given the above, fails to compile with any recent gcc.
Faried.
--
The Great GNU has arrived, infidels, behold his wrath !
"If a MOO runs on a port no one accesses, does it run?"