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

FILE structure internals issue building blead on Windows with VisualStudio 2015 RC

Thread Next
From:
A. Sinan Unur
Date:
May 3, 2015 00:54
Subject:
FILE structure internals issue building blead on Windows with VisualStudio 2015 RC
Message ID:
CABbccAOJ8JG63rvzv2z-Mc2Fds7n4u0v=A2VR9W5uG58AcftNg@mail.gmail.com
I have been trying to build blead with Visual Studio 2015 RC. I have
been able to deal with a few minor issues, but I hit one where I am
not sure about the right way to proceed. I haven't opened an issue on
RT yet ... This message is an attempt to collect some information so
as to be able to compose a useful report.

The build stops fails with the following errors:

..\perlio.c(3206): error C2039: '_file': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3394): error C2039: '_ptr': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3402): error C2039: '_ptr': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3525): error C2039: '_base': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3525): warning C4033: 'PerlIOStdio_get_base' must return a value
..\perlio.c(3532): error C2039: '_cnt': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3532): error C2039: '_ptr': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3532): error C2039: '_base': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3532): warning C4033: 'PerlIOStdio_get_bufsiz' must return a value
..\perlio.c(3541): error C2039: '_ptr': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3541): warning C4033: 'PerlIOStdio_get_ptr' must return a value
..\perlio.c(3548): error C2039: '_cnt': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3548): warning C4033: 'PerlIOStdio_get_cnt' must return a value
..\perlio.c(3569): error C2039: '_ptr': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'
..\perlio.c(3588): error C2039: '_cnt': is not a member of '_iobuf'
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10056.0\ucrt\corecrt_wstdio.h(26): note: see
declaration of '_iobuf'

The relevant bit from corecrt_wstdio.h:

#ifndef _FILE_DEFINED
    #define _FILE_DEFINED
    typedef struct _iobuf
    {
        void* _Placeholder;
    } FILE;
#endif

It is no surprise the macros fail.

From here, I do not know where to go.

I should point out that the build proceeds with no problems with VS2013 tools.

Any guidance would be much appreciated. Thank you,

-- Sinan

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