forked from boostorg/config
Add BOOST_FALLTHROUGH for gcc
This commit is contained in:
@@ -299,6 +299,10 @@
|
|||||||
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
|
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __GNUC__ >= 7
|
||||||
|
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Unused attribute:
|
// Unused attribute:
|
||||||
#if __GNUC__ >= 4
|
#if __GNUC__ >= 4
|
||||||
|
Reference in New Issue
Block a user