> Only Solaris 10, actually: Solaris 11 isn't affected since it has > clearenv(3C).
That's not the only problem AFAICS: /usr/include/sys/resource.h: At global scope: /usr/include/sys/resource.h:79:25: error: declaration does not declare anything [-fpermissive] /homes/botcazou/gcc-head/src/gcc/system.h:469:48: error: 'char* strstr(const char*, const char*)' conflicts with previous using declaration 'const char* std::strstr(const char*, const char*)' and so on. It's SPARC/Solaris 10. > OTOH, why use sun in this place instead of __sun__ (or rather __sun__ && > __svr4__) like any other platform? Yes, I can change that, but it's probably not the only case. -- Eric Botcazou