------- Comment #26 from pcarlini at suse dot de 2007-03-15 20:44 ------- (In reply to comment #25) > Sorry, that news was too excellent. It's not true.
Ok. > The reason I suggested also including <clocale> in comment #10 was because I > found <bits/c++config.h> was not enough. I agree that <clocale> is perhaps a > poor choice. I think it needs further investigation as to what would be a good > choice. No, we are done. We have only to include <bits/c++config.h> in <cerrno>, that's fine, no problem, + defining appropriate macros in the various os_defines.h. For Solaris, will be _TS_ERRNO, fine, I was asking whether you can figure out macros appropriate for the various targets you are interested in: basically you should simply open those <errno.h> and see what is protecting the declaration of the thread-safe variant. I'd like to take care one shoot of as many as possible, instead of fixing only Solaris. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31117