summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStefan Weil2022-11-02 21:22:58 +0100
committerPaolo Bonzini2022-11-06 09:48:37 +0100
commit8a0afbb2a4f7da5e6a542787ea90eb240e7ac65d (patch)
treee9ec7c771b017f8dd3c58b8ae0aeb70cab9992c8 /scripts
parentgdb-xml: Fix size of EFER register on i386 architecture when debugged by GDB (diff)
downloadqemu-8a0afbb2a4f7da5e6a542787ea90eb240e7ac65d.tar.gz
qemu-8a0afbb2a4f7da5e6a542787ea90eb240e7ac65d.tar.xz
qemu-8a0afbb2a4f7da5e6a542787ea90eb240e7ac65d.zip
Fix broken configure with -Wunused-parameter
The configure script fails because it tries to compile small C programs with a main function which is declared with arguments argc and argv although those arguments are unused. Running `configure -extra-cflags=-Wunused-parameter` triggers the problem. configure for a native build does abort but shows the error in config.log. A cross build configure for Windows with Debian stable aborts with an error. Avoiding unused arguments fixes this. Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-Id: <20221102202258.456359-1-sw@weilnetz.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions