diff --git a/config.lib b/config.lib --- a/config.lib +++ b/config.lib @@ -1134,7 +1134,8 @@ make_compiler_cflags() { if [ $cc_version -ge 110 ]; then # vec report defaults to telling where it did loop vectorisation, which is not very important - flags="$flags -vec-report=0 -wd873" + # it also complains about not fully overriding virtual function + flags="$flags -vec-report=0 -wd873 -wd654" # Use c++0x mode so static_assert() is available cxxflags="$cxxflags -std=c++0x" diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h --- a/src/misc/dbg_helpers.h +++ b/src/misc/dbg_helpers.h @@ -79,7 +79,7 @@ inline CStrA ComposeNameT(E value, T &t, } else { for (size_t i = 0; i < ArrayT::length; i++) { if ((value & (1 << i)) == 0) continue; - out.AddFormat("%s%s", (out.Size() > 0 ? "+" : ""), t[i]); + out.AddFormat("%s%s", (out.Size() > 0 ? "+" : ""), (const char*)t[i]); value &= ~(E)(1 << i); } if (value != 0) out.AddFormat("%s%s", (out.Size() > 0 ? "+" : ""), t_unk); diff --git a/src/order_backup.h b/src/order_backup.h --- a/src/order_backup.h +++ b/src/order_backup.h @@ -29,7 +29,7 @@ typedef Pool