[PATCH v2] cygwin: fix errors with GCC 5

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Feb 12 17:46:00 GMT 2016


On Feb 12 11:27, Yaakov Selkowitz wrote:
> GCC 5 switched from C89 to C11 by default. This implies a change from
> GNU to C99 inline by default, which have very different meanings of
> extern inline vs. static inline:
> 
> https://gcc.gnu.org/onlinedocs/gcc/Inline.html
> 
> Marking these as gnu_inline retains the previous behaviour.
> 
> 	winsup/cygwin/
> 	* exceptions.cc (exception::handle): Change debugging to int to fix
> 	an always-true boolean comparison warning.
> 	* include/cygwin/config.h (__getreent): Mark gnu_inline.
> 	* winbase.h (ilockcmpexch, ilockcmpexch64): Ditto.
> 
> Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

ACK


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20160212/0cfcd99b/attachment.sig>


More information about the Cygwin-patches mailing list