summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-24 20:19:49 +0200
committerarchshift <admin@archshift.com>2014-07-24 20:24:22 +0200
commit431d898a813ce65eeb1d0dfca449d310b2b2811b (patch)
tree1fa7a405639450c289090e0412f092bc92b6dfbe
parentRemoved redundant semicolons and re-added warning (diff)
downloadcuberite-431d898a813ce65eeb1d0dfca449d310b2b2811b.tar
cuberite-431d898a813ce65eeb1d0dfca449d310b2b2811b.tar.gz
cuberite-431d898a813ce65eeb1d0dfca449d310b2b2811b.tar.bz2
cuberite-431d898a813ce65eeb1d0dfca449d310b2b2811b.tar.lz
cuberite-431d898a813ce65eeb1d0dfca449d310b2b2811b.tar.xz
cuberite-431d898a813ce65eeb1d0dfca449d310b2b2811b.tar.zst
cuberite-431d898a813ce65eeb1d0dfca449d310b2b2811b.zip
-rw-r--r--SetFlags.cmake2
-rw-r--r--Tools/MCADefrag/Globals.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index cf8082503..abd7bae2b 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -231,7 +231,7 @@ macro(set_exe_flags)
add_flags_cxx("-Wno-error=covered-switch-default -Wno-error=shadow")
add_flags_cxx("-Wno-error=exit-time-destructors -Wno-error=missing-variable-declarations")
add_flags_cxx("-Wno-error=global-constructors -Wno-implicit-fallthrough")
- add_flags_cxx("-Wno-weak-vtables -Wno-switch-enum")
+ add_flags_cxx("-Wno-error=extra-semi -Wno-weak-vtables -Wno-switch-enum")
endif()
endif()
diff --git a/Tools/MCADefrag/Globals.h b/Tools/MCADefrag/Globals.h
index 6593187e6..288069599 100644
--- a/Tools/MCADefrag/Globals.h
+++ b/Tools/MCADefrag/Globals.h
@@ -240,7 +240,7 @@ template <typename Type> class cItemCallback
public:
/// Called for each item in the internal list; return true to stop the loop, or false to continue enumerating
virtual bool Item(Type * a_Type) = 0;
- virtual ~cItemCallback() {};
+ virtual ~cItemCallback() {}
} ;