forked from boostorg/utility
supress warnings in result_of_iterate.hpp on gcc 4 and up.
[SVN r80655]
This commit is contained in:
@ -15,6 +15,12 @@
|
|||||||
# error Boost result_of - do not include this file!
|
# error Boost result_of - do not include this file!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// This header generate spurious warnings on gcc, which we supress by
|
||||||
|
// treating it as a system header.
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
#pragma GCC system_header
|
||||||
|
#endif
|
||||||
|
|
||||||
// CWPro8 requires an argument in a function type specialization
|
// CWPro8 requires an argument in a function type specialization
|
||||||
#if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3002)) && BOOST_PP_ITERATION() == 0
|
#if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3002)) && BOOST_PP_ITERATION() == 0
|
||||||
# define BOOST_RESULT_OF_ARGS void
|
# define BOOST_RESULT_OF_ARGS void
|
||||||
|
Reference in New Issue
Block a user