This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] fix GCC 4.7 warnings
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 30 Apr 2013 13:31:16 -0400
- Subject: Re: [PATCH] fix GCC 4.7 warnings
- References: <517F3122 dot 8080609 at users dot sourceforge dot net>
- Reply-to: cygwin-patches at cygwin dot com
On Mon, Apr 29, 2013 at 09:49:06PM -0500, Yaakov (Cygwin/X) wrote:
>The attached patch fixes the remaining warnings in HEAD with GCC 4.7.3.
> OK to apply?
Thanks for doing this. As you may have seen I started doing this earlier
and Corinna told me to stop because it interfered with the 64-bit branch.
Just a couple of changelog clarifications.
>2013-04-29 Yaakov Selkowitz <yselkowitz@...>
>
> Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatch
> warnings between regparm definitions and declarations.
> * smallprint.cc (__small_vswprintf): Fix unused-but-set-variable
> warning.
Conditionalize declaration and setting of l_opt for only the
__x86_64__ case.
> * spawn.cc (child_info_spawn::worker): Ditto.
Remove unused 'pid' variable.
cgf