Fedora 23 has gcc 5.3.1 which exhibits this issue.
@@ -43,7 +43,7 @@
+ __GNUC_PATCHLEVEL__)
#if (defined(__GNUC__) && \
- ((GNU_CC_VERSION >= 50200) && (GNU_CC_VERSION <= 50300)) \
+ ((GNU_CC_VERSION >= 50200) && (GNU_CC_VERSION <= 50301)) \
&& defined(BOOST_ERROR_CODE_HEADER_ONLY))
#pragma GCC push_options
#pragma GCC optimize ("O0")