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 CraneThread Previous | Thread Next