[Bug libstdc++/51932] Cannot use std::errno with <cerrno>
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jan 21 14:38:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51932
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-21 14:23:20 UTC ---
There are lots of things you can find by searching the web, that doesn't make
them a good idea ;)
I'm not sure if it's required to fail, but it's certainly not required to
compile either, and I don't see how it would be possible to make it work when
errno is defined as a macro that usually expands to something like
(*__thread_errno())
It is rejected by Solaris Studio CC and by the Comeau and LLVM online demos
too.
More information about the Gcc-bugs
mailing list