qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 08/16] configure: Use -Wunused-const-variable


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH v4 08/16] configure: Use -Wunused-const-variable
Date: Tue, 21 Aug 2018 19:34:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Le 18/08/2018 à 21:01, Richard Henderson a écrit :
> For the linux-user syscall split, we have static const structs
> that must be matched up with a switch statement that uses them.
> By default, gcc will not warn for such a variable, but silently
> remove them.
> 
> For C++, such objects are sometimes declared for their constructor
> side effects.  Do not propagate this flag into QEM_CXXFLAGS.

s/QEM_CXXFLAGS/QEMU_CXXFLAGS/

Laurent



reply via email to

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