On 09/05/2017 07:35 AM, Peter Maydell wrote: > On 5 September 2017 at 13:30, niuguoxiang <niuguoxi...@huawei.com> wrote: >> I think only assert is not enough, because assert() depends on NDEBUG >> preprocessing >
> Incidentally, QEMU can never be compiled with NDEBUG not > set -- we will #error in the compilation if it is not set. Well, right now, we only #error if you happen to compile certain devices, although the proposal has been made to #error for ALL builds: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg03608.html -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature