1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Fix compiler warnings

This commit is contained in:
ShadowNinja 2021-12-01 18:30:40 -05:00 committed by rubenwardy
parent 3a87fab6c8
commit 5683bb76cc
9 changed files with 44 additions and 51 deletions

View file

@ -93,7 +93,9 @@ void TestIrrPtr::testRefCounting()
#if defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wself-assign-overloaded"
#if __clang_major__ >= 7
#pragma GCC diagnostic ignored "-Wself-assign-overloaded"
#endif
#pragma GCC diagnostic ignored "-Wself-move"
#endif