Add BOOST_FALLTHROUGH for gcc

This commit is contained in:
Glen Fernandes committed 2017-06-11 17:56:31 -04:00
1 parent 5d17cf16be
commit 62189d3b86
1 file changed
+4
+4
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