diff mbox series

[PULL,07/21] nsis installer: Suppress "ANSI targets are deprecated" warning

Message ID 20220318132306.3254960-8-peter.maydell@linaro.org
State Not Applicable
Headers show
Series [PULL,01/21] target/arm: Fix sve2 ldnt1 and stnt1 | expand

Commit Message

Peter Maydell March 18, 2022, 1:22 p.m. UTC
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 <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 20220305105743.2384766-3-peter.maydell@linaro.org
---
 qemu.nsi | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/qemu.nsi b/qemu.nsi
index c3df8c9d3b0..6edd82b385d 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