Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125)

This commit is contained in:
Graham Sanderson
2021-02-15 10:06:12 -06:00
committed by graham sanderson
parent a59fd524d5
commit 6f94f6a3d7
15 changed files with 32 additions and 31 deletions

View File

@ -17,7 +17,7 @@ void *operator new[](std::size_t n) {
return std::malloc(n);
}
void operator delete(void *p, std::size_t n) noexcept { std::free(p); }
void operator delete(void *p, __unused std::size_t n) noexcept { std::free(p); }
void operator delete(void *p) { std::free(p); }