[PATCH] build: support warnings on RHEL 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this, a configure built by autoconf 2.59 was broken when
trying to detect which compiler warning flags were supported.

* .gnulib: Update to latest, for warnings.m4 fix.
* src/qemu/qemu_conf.c (includes): Drop unused include.
* src/uml/uml_conf.c (include): Likewise.
Reported by Daniel P. Berrange.
---

* .gnulib a918da4...336406c (86):
  > include-next, warnings: support older autoconf
  > fseek, ftell: Fix doc.
  > Add dependencies to the 'largefile' module.
  > fcntl: Move AC_LIBOBJ invocation to module description.
  > fcntl: Remove call-in from fchdir.m4.
  > dup3: Remove potential call-in from fchdir.m4.
  > dup2: Move AC_LIBOBJ invocation to module description.
  > dup2: Remove call-in from fchdir.m4.
  > fclose: Move AC_LIBOBJ invocation to module description.
  > fclose: Remove call-in from close.m4.
  > close: Move AC_LIBOBJ invocation to module description.
  > close: Remove call-in from fchdir.m4.
  > open: Move AC_LIBOBJ invocation to module description.
  > open: Remove call-in from fchdir.m4.
  > fchdir: Start to remove gl_REPLACE_* idiom.
  > * lib/ftell.c (ftell): Comment out cast.
  > close: use gl_REPLACE_FCLOSE only if defined
  > test-select.h: avoid warning from gcc's -Wmissing-declarations
  > doc: Mention the effects of AC_SYS_LARGEFILE.
  > doc: Fix typo.
  > doc: Mention fsusage.
  > Reorder ChangeLog entries to match the order in which the changes went in at the central repository.
  > doc: Mention new glibc headers and functions.
  > ftell: don't include <unistd.h>
  > ftell: do not assume wraparound signed arithmetic
  > Attribution for last commit.
  > close: No longer depend on module 'fclose'.
  > fsusage: Enable large volume support on AIX >= 5.2.
  > fsusage: Restore previous behaviour on AIX, Cygwin, Interix.
  > fsusage: Support large volumes on glibc/Hurd, HP-UX, Solaris, MacOS X.
  > * README: Modernize discussion of signed integers.
  > select tests, pselect tests: Refactor.
  > sys_select tests: Check the signature of FD_*.
  > largefile: new module, replacing large-inode
  > fsusage: port to MacOS X 10.7 with 4 TiB file systems
  > large-inode: New module
  > extensions: Enable extensions on MacOS X 10.5 and later.
  > file-has-acl: use acl_extended_file_nofollow if available
  > Declare system functions in a way that works with C++.
  > maint.mk: prohibit inclusion of "verify.h" without use
  > timer-time: A new module to check for timer_settime()
  > pthread_sigmask: assume POSIX threads if --avoid=threadlib
  > strstr: Update cross-compilation guess.
  > getopt-gnu: suppress core dumps from detection code
  > pthread_sigmask: ensure usleep is declared
  > doc: Document NonStop portability issues.
  > ffsl, ffsll: Avoid unportable behaviour.
  > ffs: More tests.
  > ffsl, ffsll: new modules
  > ffs: fix m4 prerequisite
  > ffs: avoid undefined behavior
  > pthread_sigmask: Rely on module 'threadlib'.
  > regex: Depend on module 'strcase'.
  > warn-on-use: fix typo in file name
  > strings: Document module.
  > Rename module '_Noreturn' to 'snippet/_Noreturn'.
  > Mention the changes.
  > Rename module 'warn-on-use' to 'snippet/warn-on-use'.
  > Rename module 'unused-parameter' to 'snippet/unused-parameter'.
  > Rename module 'link-warning' to 'snippet/link-warning'.
  > Rename module 'c++defs' to 'snippet/c++defs'.
  > Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
  > Improve ChangeLog to summarize _Noreturn better.
  > modules/_Exit-tests: test _Noreturn too
  > stdnoreturn, stdnoreturn-tests: remove modules
  > _Noreturn: Ignore __STDC_VERSION__; observe _MSC_VER.
  > _Noreturn-tests: remove module
  > * top/maint.mk: Adjust to new noreturn support.
  > xalloc: use stdnoreturn.h
  > xstrtol: use stdnoreturn.h
  > xmemdup0: use stdnoreturn.h
  > sigpipe-die: use stdnoreturn.h
  > openat: use stdnoreturn.h
  > * lib/openat-die.c (openat_save_fail): Modernize comment.
  > * lib/xalloc-die.c (xalloc_die): Modernize comment.
  > * lib/glthread/thread.h: Modernize comment.
  > obstack: use _Noreturn
  > c-stack: use _Noreturn
  > exclude_tests: use _Noreturn
  > argmatch-tests: use _Noreturn
  > stdlib: use _Noreturn
  > stdnoreturn-tests: new module
  > stdnoreturn: new module
  > _Noreturn-tests: new module
  > _Noreturn: new module
  > * m4/gnulib-common.m4 (gl_COMMON_BODY): Add _Noreturn.

 .gnulib              |    2 +-
 src/qemu/qemu_conf.c |    1 -
 src/uml/uml_conf.c   |    1 -
 3 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/.gnulib b/.gnulib
index a918da4..336406c 160000
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit a918da4d61d28be61a12605c9d35e2cf3966d866
+Subproject commit 336406c13cc08ee13d6a15cc8cf86efb9132a830
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index 6efca6b..443e08d 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -46,7 +46,6 @@
 #include "conf.h"
 #include "util.h"
 #include "memory.h"
-#include "verify.h"
 #include "datatypes.h"
 #include "xml.h"
 #include "nodeinfo.h"
diff --git a/src/uml/uml_conf.c b/src/uml/uml_conf.c
index c4b6e75..417271e 100644
--- a/src/uml/uml_conf.c
+++ b/src/uml/uml_conf.c
@@ -43,7 +43,6 @@
 #include "util.h"
 #include "memory.h"
 #include "nodeinfo.h"
-#include "verify.h"
 #include "bridge.h"
 #include "logging.h"
 #include "domain_nwfilter.h"
-- 
1.7.4.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]