https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265181
--- Comment #8 from Warner Losh <[email protected]> --- Ah, the bswap32, bswap_32, etc fiasco. There's three or four different standards. And I'm trying to iron it all out. Everywhere, though, __bswap32, etc, should be defined as __builtin_bswap32, etc. Anything else will be suboptimal. I started to sort all this out in https://reviews.freebsd.org/D31964 (where I start to use __ versions everywhere) https://reviews.freebsd.org/D31962 (this is almost ready to go in, but there's a couple of stragglers in ports that I've not had the time to fix) The problem is that endian.h, sys/endian.h and byteswap.h are different APIs that vary a bit, that also has a number of different autoconf and autoconf-like scripts that have various different bugs that get it wrong, or detect things to include in one way, and detect which macros to use in a different way and this mismatch causes problems. -- You are receiving this mail because: You are the assignee for the bug.
