mirror of
https://github.com/boostorg/config.git
synced 2025-08-02 13:54:27 +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