develooper Front page | perl.perl5.porters | Postings from May 2018

Re: [perl #132955] USE_CPLUSPLUS build broken in 5.27 blead and all5.26 stables

Thread Previous | Thread Next
From:
Aaron Crane
Date:
May 10, 2018 13:33
Subject:
Re: [perl #132955] USE_CPLUSPLUS build broken in 5.27 blead and all5.26 stables
Message ID:
CACmk_tuZRuMRPqEDddbFS1LavyTw6ymoY3p7PcXPKrf7DyB8Zg@mail.gmail.com
Steve Hay via perl5-porters <perl5-porters@perl.org> wrote:
> (Actually, I'm still confused why Socket failed given that Windows
> doesn't compile cpan/ differently to dist/ and ext/, but I've spent
> too long staring at this now...)

C++ restricts use of offsetof() to (roughly speaking) the C-like
subset of struct/class types. Do the headers in VS2017 have different
definitions of struct sockaddr for C and C++ builds, with C++-specific
features where available? That could explain why only this use of
offsetof() on only this compiler is affected.

-- 
Aaron Crane

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About