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