On Tue Jul 22 23:34:13 2008, [EMAIL PROTECTED] wrote:
> Christoph Otto via RT wrote:
> >
> > This version of the patch should dtrt with all versions of
> strerror_r.  It
> > works on my Debian/x86 box and I'll be testing it on any *nix I can
> get my
> > hands on Tuesday.  If it works fine there, if someone can test it on
> windows
> > and if the patch looks OK, I'll commit it and close this ticket.
> >
> > Christoph
> >
> 
> This patch contains a fix and a simplification.  It should now be
> cross-platform and thread-safe.  I'll test on some other *nixes and go
> on from
> there.  If nothing else it works fine on Ubuntu/x86.

Based on Christoph's instructions in #parrot, I tested this using an MSVC 
compiler, with the 
following results:

C:\research\parrot>nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

"Compiling with:"
xx.c
cl -I.\include -nologo -GF -W4 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -
DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -D_CRT_SECURE_NO_DEPRECATE -
DHASATTRIBU
TE_DEPRECATED -wd4101 -DHASATTRIBUTE_NORETURN -wd4101 -Zi -wd4127 -wd4054 -
wd431
0 -DHAS_JIT -DI386 -I. -Fo xx.obj -c xx.c
        C:\Perl\bin\perl.exe tools\build\pmc2c.pl --dump src\pmc\file.pmc
        C:\Perl\bin\perl.exe tools\build\pmc2c.pl --c src\pmc\file.pmc
        C:\Perl\bin\perl.exe tools\build\c2str.pl src\pmc\file.c > src\pmc\file.
str
        C:\Perl\bin\perl.exe tools\build\c2str.pl --all
src\string.c
src\pmc\file.c
.\src\pmc\file.pmc(169) : warning C4189: 'pmc' : local variable is initialized b
ut not referenced
.\src\pmc\file.pmc(147) : warning C4013: 'strerror_r' undefined; assuming extern
 returning int
.\src\pmc\file.pmc(318) : warning C4189: 'pmc' : local variable is initialized b
ut not referenced
.\src\pmc\file.pmc(475) : warning C4189: 'pmc' : local variable is initialized b
ut not referenced
.\src\pmc\file.pmc(632) : warning C4189: 'pmc' : local variable is initialized b
ut not referenced
.\src\pmc\file.pmc(633) : warning C4189: 'path' : local variable is initialized
but not referenced
.\src\pmc\file.pmc(250) : error C2143: syntax error : missing ';' before 'type'
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
Stop.

-- 
Will "Coke" Coleda

Reply via email to