[virt-tools-list] [virt-viewer PATCH 0/5] Enable many more compiler warnings

Daniel P. Berrangé berrange at redhat.com
Wed Feb 13 17:04:36 UTC 2019


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.

Daniel P. Berrangé (5):
  Fix signed/unsigned mixup in format args
  Annotate message dialog helpers with format(gnu_printf)
  Fix prototype of function with no arguments
  Declare VirtViewerFile variable at start of method
  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/ovirt-foreign-menu.c               |   2 +-
 src/remote-viewer.c                    |   6 +-
 src/virt-viewer-app.c                  |  40 +--
 src/virt-viewer-file-transfer-dialog.c |   4 +-
 src/virt-viewer-notebook.c             |   4 +-
 src/virt-viewer-session-spice.c        |   2 +-
 src/virt-viewer-session-vnc.c          |   7 +-
 src/virt-viewer.c                      |   6 +-
 14 files changed, 650 insertions(+), 131 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




More information about the virt-tools-list mailing list