attempt to fix a compiler warning
This commit is contained in:
parent
627acb9b0b
commit
29ff731327
1 changed files with 7 additions and 0 deletions
|
@ -195,6 +195,13 @@ namespace lua_check_impl
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6 )
|
||||
// 'list.size()' below is unsigned for some (most but not all) list types.
|
||||
#pragma GCC diagnostic ignored "-Wtype-limits"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//also accepts things like std::vector<int>() | boost::adaptors::transformed(..)
|
||||
template<typename T>
|
||||
typename boost::enable_if<
|
||||
|
|
Loading…
Add table
Reference in a new issue