qemu-e2k/qga
Michael Roth 40cebc5811 qga-win: fix VSS build breakage due to unintended gnu99 C++ flag
Commit 7be41675f7 set -std=gnu99 for C code via QEMU_CFLAGS. Currently
we generate a "custom" QEMU_CXXFLAGS for VSS DLL C++ build by
filtering out some options from QEMU_CFLAGS and adding some others.
Since we don't filter out -std=gnu99 currently this breaks builds when
VSS support is enabled.

We could keep the existing approach, filter out -std=gnu99 from
QEMU_CFLAGS, and add -std=gnu++98, like configure currently does for
QEMU_CXXFLAGS, but as it turns out our resulting QEMU_CXXFLAGS would
be exactly what configure already generates, just with these filtered
out:

  -fstack-protector-all -fstack-protector-strong

and these added:

  -Wno-unknown-pragmas -Wno-delete-non-virtual-dtor

So fix the issue by re-using configure-generated QEMU_CXXFLAGS and
just handling these specific changes.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-03-18 10:24:20 -05:00
..
installer qga-win: install service with --retry-path set by default 2018-10-31 09:04:20 -05:00
vss-win32 qga-win: fix VSS build breakage due to unintended gnu99 C++ flag 2019-03-18 10:24:20 -05:00
channel-posix.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
channel-win32.c qga-win: report specific error when failing to open channel 2018-10-31 09:04:20 -05:00
channel.h qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
commands-posix.c qemu/queue.h: simplify reverse access to QTAILQ 2019-01-11 15:46:55 +01:00
commands-win32.c qga-win: Adding support for Windows Server 2019 get-osinfo command 2019-03-18 10:24:20 -05:00
commands.c glib: bump min required glib library version to 2.40 2018-06-29 12:22:28 +01:00
guest-agent-command-state.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
guest-agent-core.h qga: Add multiple include guard to guest-agent-core.h 2018-11-09 07:55:13 -06:00
main.c qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
Makefile.objs qga: linux: report disk serial number 2018-10-31 09:04:20 -05:00
qapi-schema.json qga: update docs with systemd suspend support info 2019-03-18 10:24:20 -05:00
service-win32.c qga: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
service-win32.h qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
vss-win32.c qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00
vss-win32.h qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00