[LLVMbugs] [Bug 17870] errc values are platform dependent but are used in error_condition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Nov 10 18:08:09 PST 2013


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
(In reply to comment #0)
> Linux: errc::address_family_not_supported is 97.
> FreeBSD: errc::address_family_not_supported is 47.


> n3690 system_error synopsis: errc::address_family_not_supported is 1.

That's not correct. Paragraph 3 says: "The value of each enum errc constant
shall be the same as the value of the <cerrno> macro shown in the above

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131111/6af6b171/attachment.html>

More information about the llvm-bugs mailing list