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: braces around scalar initializer for type


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

Attachment: pgpJCABVLp79S.pgp
Description: PGP signature


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