Subject: | Problems with Errno 1.10 and MinGW (Win32) |
Date: | Sun, 8 Apr 2007 09:44:14 +1000 |
To: | <bug-Errno [...] rt.cpan.org> |
From: | "Sisyphus" <sisyphus1 [...] optusnet.com.au> |
Hi,
When building Errno-1.10 on a MinGW-built perl 5.8.8, 'dmake' produces the
following output:
-------------------------------
C:\perl58_M\bin\perl.exe Errno_pm.PL Errno.pm
In file included from includes.c:17:
C:/_32/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdarg.h:6:24:
no
include path in which to search for stdarg.h
In file included from includes.c:56:
C:/_32/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stddef.h:6:24:
no
include path in which to search for stddef.h
cp Errno.pm blib\lib/Errno.pm
-------------------------------
(The version of gcc is 3.4.5.)
Both stddef.h and stdarg.h are in the same location as the other header
files listed in 'includes.c', so I guess the problem lies with the contents
of those 2 problem headers. Here's what stdarg.h looks like (in its
entirety):
-------------------------------
/*
* This is just an RC_INVOKED guard for the real stdarg.h
* fixincluded in gcc system dir. One day we will delete this file.
*/
#ifndef RC_INVOKED
#include_next<stdarg.h>
#endif
-------------------------------
stddef.h is essentially the same (the occurrrences of "stdarg" having been
replaced with "stddef").
When 'dmake' test is run, failures are reported for tests 77, 205, 634, 887,
953, 1000, 1143, 1196, 1338, 1382, 1543, 1640, 1649 and 1738.
I don't understand those 2 problem headers at all, and I couldn't work out
what t\errno.t was doing - so I don't have any patches. But I'm certainly
prepared to act upon any guidance I'm given on how to identify and resolve
the issues.
Cheers,
Rob