From: Peter Maydell Date: Sat, 5 Mar 2022 10:57:42 +0000 (+0000) Subject: nsis installer: Suppress "ANSI targets are deprecated" warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6b98e86e8773dbbcf34275b066e8fd63cb4c2f15;p=qemu.git nsis installer: Suppress "ANSI targets are deprecated" warning When we build our Windows installer, it emits the warning: warning 7998: ANSI targets are deprecated Fix this by making our installer a Unicode installer instead. These won't work on Win95/98/ME, but we already do not support those. See https://nsis.sourceforge.io/Docs/Chapter4.html#aunicodetarget for the documentation of the Unicode directive. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Weil Message-id: 20220305105743.2384766-3-peter.maydell@linaro.org --- diff --git a/qemu.nsi b/qemu.nsi index c3df8c9d3b..6edd82b385 100644 --- a/qemu.nsi +++ b/qemu.nsi @@ -35,6 +35,9 @@ !define OUTFILE "qemu-setup.exe" !endif +; Build a unicode installer +Unicode true + ; Use maximum compression. SetCompressor /SOLID lzma