This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix GCC 4.7 warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]