------- Comment #31 from bkoz at gcc dot gnu dot org  2007-04-06 16:38 -------

For generic targets, can't you just 

-errno = 0;
+static __thread int errno = 0;

on releases of gcc (4.3+) that have the wherewithal to fudge the issue for all
systems, even the ones without builtin-TLS?

-benjamin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31117

Reply via email to