Add BOOST_FALLTHROUGH for gcc

This commit is contained in:
Glen Fernandes
2017-06-11 17:50:15 -04:00
parent 5d17cf16be
commit 62189d3b86

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