------- Comment #4 from redi at gcc dot gnu dot org 2010-04-30 01:02 ------- hiding them behind an adaptor function has a cost and personally I don't think it's worth fixing which is why I closed it as WONTFIX I'll leave it open but I'm not interested in fixing it.
It's nothing to do with mixing and matching C and C++, "some of us" write pure C++ (thankyouverymuch) but accept that writing C++ on *nix means platform-specific functions are also available. I'm still not sure which names you're talking about, either you mean the names from ISO C (which are explicitly allowed to be declared in the global namespace even when including a C++ library header, so this is WONTFIX) or you mean names from POSIX, which are nothing to do with C and are part of POSIX. If you develop on a POSIX system you should avoid using names reserved by POSIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36231