Merge pull request #74 from morinmorin/fix/remove_detection_code

Remove the detection code for 'unused' attribute on Clang
This commit is contained in:
jzmaddock
2015-09-03 10:54:05 +01:00

View File

@ -260,9 +260,8 @@
# define BOOST_NO_CXX14_DIGIT_SEPARATORS
#endif
#if __has_attribute(unused)
# define BOOST_ATTRIBUTE_UNUSED __attribute__((unused))
#endif
// Clang has supported the 'unused' attribute since the first release.
#define BOOST_ATTRIBUTE_UNUSED __attribute__((unused))
#ifndef BOOST_COMPILER
# define BOOST_COMPILER "Clang version " __clang_version__