mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Add BOOST_FALLTHROUGH for gcc
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user