This replaces the old GNOME code for compiler warnings with the more advanced GNULIB code, which lets us enable many more warnings. It also ensures that -Werror is enabled for anyone building from GIT to help prevent regressions appearing. Changed in v2: - Pushed already ack'd patches - Use G_GNUC_PRINTF - Fix win32 warnings about strncpy Daniel P. Berrangé (3): Annotate message dialog helpers with format(gnu_printf) Fix warning about missing nul terminator with strncpy Switch to gnulib's compiler warning flags acinclude.m4 | 98 ---------- configure.ac | 2 +- m4/manywarnings.m4 | 334 ++++++++++++++++++++++++++++++++++ m4/virt-viewer-warnings.m4 | 159 ++++++++++++++++ m4/warnings.m4 | 115 ++++++++++++ prepare-release.sh | 2 +- src/virt-viewer-app.c | 38 ++-- src/virt-viewer-notebook.c | 4 +- src/windows-cmdline-wrapper.c | 2 +- 9 files changed, 636 insertions(+), 118 deletions(-) delete mode 100644 acinclude.m4 create mode 100644 m4/manywarnings.m4 create mode 100644 m4/virt-viewer-warnings.m4 create mode 100644 m4/warnings.m4 -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list