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

RE: FILE structure internals issue building blead on Windows withVisual Studio 2015 RC

Thread Previous | Thread Next
From:
bulk 88
Date:
May 4, 2015 02:10
Subject:
RE: FILE structure internals issue building blead on Windows withVisual Studio 2015 RC
Message ID:
BAY182-W23154B07A3780A15AB9CE0DFD20@phx.gbl


----------------------------------------
> Date: Sat, 2 May 2015 20:54:19 -0400
> Subject: FILE structure internals issue building blead on Windows with Visual Studio 2015 RC
> From: nanis@cpan.org
> To: perl5-porters@perl.org
>
> 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

please supply the perlio.i as in "nmake perlio.i"
 		 	   		  
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