diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-01-18 12:47:49 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-01-18 16:28:31 +0000 |
commit | db90770ec5e867cc120a9753bf928f081002c2e7 (patch) | |
tree | 28365f4f3b462d7cd1acdd5d49e8fc94f8c6f483 /configure.ac | |
parent | 6de1a1242e9501f8a7042d3cdd970ab9c7496823 (diff) | |
download | libguestfs-db90770ec5e867cc120a9753bf928f081002c2e7.tar.gz libguestfs-db90770ec5e867cc120a9753bf928f081002c2e7.tar.xz libguestfs-db90770ec5e867cc120a9753bf928f081002c2e7.zip |
ocaml: Add -Wno-missing-field-initializers to avoid a warning.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fa974792..6e42423d 100644 --- a/configure.ac +++ b/configure.ac @@ -141,6 +141,10 @@ if test "$gl_gcc_warnings" = yes; then # Work around warning in src/inspect.c. This seems to be a bug in gcc 4.5.1. gl_WARN_ADD([-Wno-strict-overflow]) + # Missing field initializers is not a bug in C. Adding this to $nw above + # did not work, so force it here instead. + gl_WARN_ADD([-Wno-missing-field-initializers]) + gl_WARN_ADD([-fdiagnostics-show-option]) AC_SUBST([WARN_CFLAGS]) |