From: Nadav Har'El <n...@scylladb.com> Committer: Waldemar Kozaczuk <jwkozac...@gmail.com> Branch: master
core/mmu.cc: silence warning gcc 11 warns about the MMU code writing 4096 byte to an area with 0 bytes. I am guessing this is a false alarm, but the code is too convoluted for me to prove it :-( So for now, let's just slience this build error. Signed-off-by: Nadav Har'El <n...@scylladb.com> Message-Id: <20210614062057.1998552-11-...@scylladb.com> --- diff --git a/core/mmu.cc b/core/mmu.cc --- a/core/mmu.cc +++ b/core/mmu.cc @@ -29,6 +29,10 @@ #include <osv/rwlock.h> #include <numeric> +// FIXME: Without this pragma, we get a lot of warnings that I don't know +// how to explain or fix. For now, let's just ignore them :-( +#pragma GCC diagnostic ignored "-Wstringop-overflow" + extern void* elf_start; extern size_t elf_size; -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/000000000000eaf88a05c4bdef89%40google.com.