qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 00/15] GCC warning flags


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH v3 00/15] GCC warning flags
Date: Sun, 19 Sep 2010 11:52:16 +0200

Hi Blue,

Some of the warnings currently enabled are applicable only to C and Objective-C code, but gcc warns for C++:

cc1plus: warning: command line option "-Wold-style-definition" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wold-style-declaration" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++

Any idea how to handle this configure/rules.mak-wise? Split QEMU_CFLAGS into QEMU_CPPFLAGS and QEMU_CFLAGS/QEMU_CXXFLAGS?

Regards,
Andreas



reply via email to

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