On Fri, Mar 11, 2022 at 11:09:16AM -0600, Glenn Washburn wrote: > On Fri, 11 Mar 2022 00:35:57 +0100 > Daniel Kiper <daniel.ki...@oracle.com> wrote: > > > Latest GCC may complain in that way: > > > > commands/i386/pc/sendkey.c: In function ‘grub_sendkey_postboot’: > > commands/i386/pc/sendkey.c:223:21: error: writing 1 byte into a region of > > size 0 [-Werror=stringop-overflow=] > > 223 | *((char *) 0x41a) = 0x1e; > > | ~~~~~~~~~~~~~~~~~~^~~~~~ > > I'm curious why I'm not seeing this. It looks like the target was > i386-pc, correct? I'm guessing this is on GCC11. What compiler are you
Debian GNU/Linux bookworm/sid gcc version 11.2.0 (Debian 11.2.0-16) > using? Any extra CFLAGS? Anything else I might need to reproduce? IIRC e.g. ./configure --target=i386 --with-platform=pc Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel