qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Werror build failure on 32-bit host


From: Mark Cave-Ayland
Subject: [Qemu-devel] Werror build failure on 32-bit host
Date: Tue, 19 Mar 2019 21:03:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Hi all,

I get the following warning when trying to build current git master on a 32-bit 
host:

ui/curses.c: In function ‘get_ucs’:
ui/curses.c:456:49: warning: format ‘%x’ expects argument of type ‘unsigned 
int’, but
argument 3 has type ‘wchar_t’ {aka ‘long int’} [-Wformat=]
         fprintf(stderr, "Could not convert 0x%02x from WCHAR_T to UCS-2: %s\n",
                                              ~~~^
                                              %02lx
                         wch, strerror(errno));
                         ~~~

Looks like this is an unintended side effect of commit 2f8b7cd587 "curses: add 
option
to specify VGA font encoding".


ATB,

Mark.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]