This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MinGW compilation warnings in libiberty's waitpid.c
- From: DJ Delorie <dj at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org, gdb-patches at sourceware dot org
- Date: Fri, 19 May 2017 21:28:25 -0400
- Subject: Re: MinGW compilation warnings in libiberty's waitpid.c
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dj at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3086E83F43
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3086E83F43
Please try this patch, since my mingw environment is old:
Index: libiberty/ChangeLog
===================================================================
--- libiberty/ChangeLog (revision 248307)
+++ libiberty/ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2017-05-19 Eli Zaretskii <eliz@gnu.org>
+
+ * configure.ac (*-*-mingw*): Don't build waitpid.c.
+
2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org>
* d-demangle.c (dlang_hexdigit): New function.
Index: libiberty/configure.ac
===================================================================
--- libiberty/configure.ac (revision 248307)
+++ libiberty/configure.ac (working copy)
@@ -493,7 +493,6 @@
AC_LIBOBJ([strnlen])
AC_LIBOBJ([strverscmp])
AC_LIBOBJ([vasprintf])
- AC_LIBOBJ([waitpid])
for f in $funcs; do
case "$f" in