braces around scalar initializer for type

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Mar 12 19:22:00 GMT 2015


Alexey,

On Mar 12 21:18, Alexey Pavlov wrote:
> Building MSYS2 runtime I'm get:
> 
> /build2/msys2-runtime/src/msys2-runtime/winsup/cygwin/net.cc:82:56:
> error: braces around scalar initializer for type 'u_char {aka unsigned
> char}'
>  const struct in6_addr in6addr_any = {{IN6ADDR_ANY_INIT}};
> 
>                           ^
> /build2/msys2-runtime/src/msys2-runtime/winsup/cygwin/net.cc:83:66:
> error: braces around scalar initializer for type 'u_char {aka unsigned
> char}'
>  const struct in6_addr in6addr_loopback = {{IN6ADDR_LOOPBACK_INIT}};
> 
>                                                ^
> /build2/msys2-runtime/src/msys2-runtime/winsup/cygwin/../Makefile.common:43:
> recipe for target 'net.o' failed
> 
> So I think next patch can be applied:

I'm ok with that patch, but it's missing the ChangeLog entry,  Please
provide ChangeLog entries per https://cygwin.com/contrib.html.


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: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150312/9dd9436d/attachment.sig>


More information about the Cygwin-patches mailing list