mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
supress warnings in result_of_iterate.hpp on gcc 4 and up.
[SVN r80655]
This commit is contained in:
parent
7148d6c95e
commit
0568a114a8
@ -15,6 +15,12 @@
|
||||
# error Boost result_of - do not include this file!
|
||||
#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
|
||||
#if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3002)) && BOOST_PP_ITERATION() == 0
|
||||
# define BOOST_RESULT_OF_ARGS void
|
||||
|
Loading…
x
Reference in New Issue
Block a user