[PATCH] fix GCC 4.7 warnings
Tue Apr 30 17:31:00 GMT 2013
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
Conditionalize declaration and setting of l_opt for only the
> * spawn.cc (child_info_spawn::worker): Ditto.
Remove unused 'pid' variable.
More information about the Cygwin-patches