This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence compiler warnings with gcc 4.7.2 and 4.8.1 from www.mingw.org
authorSteve Hay <steve.m.hay@googlemail.com>
Tue, 10 Feb 2015 08:23:22 +0000 (08:23 +0000)
committerSteve Hay <steve.m.hay@googlemail.com>
Wed, 11 Feb 2015 08:10:19 +0000 (08:10 +0000)
commit0bcc29e72bad67486863beeedf2d515e2be3665d
tree0ea222e2baaf20a2e5c936bd27bed5f23bb9d8ed
parentd25148c1bd1f4c26569fbfdf34270fa3f8f9d6a3
Silence compiler warnings with gcc 4.7.2 and 4.8.1 from mingw.org

These compilers (with other contemporaneous packages, I forget exactly
which versions of everything I have installed) contain

#define fstat _fstat

in include/sys/stat.h, which clashes with win32/win32iop.h's #define and
causes "warning: "fstat" redefined [enabled by default]" for just about
every .c file compiled. Likewise for stat.
win32/win32iop.h