|
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
[Prev in Thread] | Current Thread | [Next in Thread] |