Merge pull request #153 from glenfe/fallthrough

Add BOOST_FALLTHROUGH for gcc
This commit is contained in:
jzmaddock
2017-06-12 11:53:03 +01:00
committed by GitHub

View File

@ -299,6 +299,10 @@
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#if __GNUC__ >= 7
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
#endif
//
// Unused attribute:
#if __GNUC__ >= 4