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

[perl #123794] Build failure on Win32 with gcc 4.7.2/4.8.1 from

Thread Next
bulk88 via RT
February 11, 2015 11:17
[perl #123794] Build failure on Win32 with gcc 4.7.2/4.8.1 from
Message ID:
On Wed Feb 11 00:58:44 2015, shay wrote:
> In commit 0bcc29e72b I've just silenced some compiler warnings from
> these compilers caused by #defines of fstat and stat in both
> sys/stat.h and perl's win32/win32iop.h. They no longer complain about
> these symbols being redefined, but the fact that they are #undef'd and
> then re-#def'd still causes problems, including a build failure in C++
> mode.
> In a normal C build with the default configuration, doio.c now has
> this warning, and likewise for some other fstat/stat calls in the same
> file:
> ..\doio.c: In function 'S_openn_cleanup':
> ..\doio.c:651:2: warning: passing argument 2 of 'win32_fstat' from
> incompatible pointer type [enabled by default]
> In file included from ./win32.h:643:0,
>                  from ..\perl.h:3065,
>                  from ..\doio.c:27:
> ./win32iop.h:69:18: note: expected 'struct _stat64i32 *' but argument
> is of type 'struct stat *'

I dont have time to respond ATM, but I think is slightly related.

bulk88 ~ bulk88 at

via perlbug:  queue: perl5 status: new

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About