2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-22 13:42:08 +00:00
Files
asio/include
Christopher Kohlhoff 003174d8c9 Fix BOOST_ASIO_ASSUME definition on older compilers.
1. gcc 4.4 does not support __builtin_unreachable, which makes the
  __GNUC__ branch definition to fail.

2. clang 3.5 doesn't support __builtin_assume and uses the last fallback
  option. There, BOOST_ASIO_ASSUME is defined without arguments, meaning it
  expands to incorrect code like `(void)0(base != 0)`. This also affects
  any other compilers that are not handled by prior branches.
2023-04-04 20:20:33 +10:00
..