[Bug libstdc++/59072] errc values are platform dependent but are used in error_condition

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 10 22:03:00 GMT 2013


Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Hristo Venev from comment #0)
> n3690 system_error synopsis: errc::address_family_not_supported is 1.

No, you need to read the paragraph following the synopsis

   The value of each enum errc constant shall be the same as the value of
   the <cerrno> macro shown in the above synopsis.

More information about the Gcc-bugs mailing list