Suppress Wdeprecated-copy warning on clang/emscripten
This commit is contained in:
2
src/3rdparty/cpp-btree/btree.h
vendored
2
src/3rdparty/cpp-btree/btree.h
vendored
@@ -726,7 +726,7 @@ class btree_node {
|
|||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#if (__GNUC__ >= 9)
|
#if (__GNUC__ >= 9) || (defined __clang_major__ && __clang_major__ >= 10)
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||||
#endif
|
#endif
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
Reference in New Issue
Block a user