mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +08:00
mdbx++: push/pop warnings for lcc 1.26
This commit is contained in:
parent
9285db6ec2
commit
a5a112796c
14
mdbx.h++
14
mdbx.h++
@ -268,6 +268,16 @@
|
|||||||
#pragma warning(disable : 4702) /* unreachable code */
|
#pragma warning(disable : 4702) /* unreachable code */
|
||||||
#endif /* _MSC_VER (warnings) */
|
#endif /* _MSC_VER (warnings) */
|
||||||
|
|
||||||
|
#if defined(__LCC__) && __LCC__ >= 126
|
||||||
|
#pragma diagnostic push
|
||||||
|
#if __LCC__ < 127
|
||||||
|
#pragma diag_suppress 3058 /* workaround: call to is_constant_evaluated() \
|
||||||
|
appearing in a constant expression `true` */
|
||||||
|
#pragma diag_suppress 3060 /* workaround: call to is_constant_evaluated() \
|
||||||
|
appearing in a constant expression `false` */
|
||||||
|
#endif
|
||||||
|
#endif /* E2K LCC (warnings) */
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
/// \brief The libmdbx C++ API namespace
|
/// \brief The libmdbx C++ API namespace
|
||||||
/// \ingroup cxx_api
|
/// \ingroup cxx_api
|
||||||
@ -6015,6 +6025,10 @@ template <> struct hash<::mdbx::slice> {
|
|||||||
/// end cxx_api @}
|
/// end cxx_api @}
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
||||||
|
#if defined(__LCC__) && __LCC__ >= 126
|
||||||
|
#pragma diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user