forked from boostorg/config
Remove the detection code for 'unused' attribute on Clang.
This commit is contained in:
@ -260,9 +260,8 @@
|
|||||||
# define BOOST_NO_CXX14_DIGIT_SEPARATORS
|
# define BOOST_NO_CXX14_DIGIT_SEPARATORS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __has_attribute(unused)
|
// Clang has supported the 'unused' attribute since the first release.
|
||||||
# define BOOST_ATTRIBUTE_UNUSED __attribute__((unused))
|
#define BOOST_ATTRIBUTE_UNUSED __attribute__((unused))
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef BOOST_COMPILER
|
#ifndef BOOST_COMPILER
|
||||||
# define BOOST_COMPILER "Clang version " __clang_version__
|
# define BOOST_COMPILER "Clang version " __clang_version__
|
||||||
|
Reference in New Issue
Block a user