RE: [PATCH] Silence some compiler warnings

2016-05-31 Thread Luke Allardyce
Great, thanks. They both seem to be fixed in gnulib. From: Paul Smith Sent: 31 May 2016 16:23 To: Luke Allardyce; bug-make@gnu.org Subject: Re: [PATCH] Silence some compiler warnings On Tue, 2016-05-31 at 11:14 +0900, Luke Allardyce wrote: > GCC complains about unused parameters and an ambigu

Re: [PATCH] Silence some compiler warnings

2016-05-31 Thread Paul Smith
On Tue, 2016-05-31 at 11:14 +0900, Luke Allardyce wrote: > GCC complains about unused parameters and an ambiguous-looking if-else > in getopt.c The getopt.c contained in the GNU make release is actually copied from gnulib: I don't want to modify/maintain my own version of these files. For the ne

[PATCH] Silence some compiler warnings

2016-05-30 Thread Luke Allardyce
GCC complains about unused parameters and an ambiguous-looking if-else in getopt.c diff --git a/getopt.c b/getopt.c index e3538d4..1c83bf6 100644 --- a/getopt.c +++ b/getopt.c @@ -434,6 +434,9 @@ _getopt_initialize (int argc, char *const *argv, const char *optstring) } else nonoption_