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 www.mingw.org

Thread Next
From:
bulk88 via RT
Date:
February 11, 2015 11:17
Subject:
[perl #123794] Build failure on Win32 with gcc 4.7.2/4.8.1 from www.mingw.org
Message ID:
rt-4.0.18-23144-1423653427-1048.123794-15-0@perl.org
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 https://rt.perl.org/Ticket/Display.html?id=121448 is slightly related.



-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=123794

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