----- Original Message ----- 
From: "Sisyphus" <sisyph...@optusnet.com.au>

> One test failed (t/local/00_ptr_cast.t), but it fails only because it 
> fails
> to compile a test program:

It's a bug in the test script. With some help from 
http://www.perlmonks.org/index.pl?node_id=762762 , I finally found that the 
executable fails to build because bufferoverflowU.lib is not linked in. In 
00_ptr_cast.t, we need to change:
push(@extraargs, '/nologo') if $^O eq 'MSWin32' && $Config{cc} eq 'cl';
to:
push(@extraargs, '/nologo ' . $Config{libs}) if $^O eq 'MSWin32' && 
$Config{cc} eq 'cl';

Then the test executable builds, and 4 of the 5 tests pass. The one test 
that fails expects the empty string to be returned, but undef is being 
returned. (This could well be another bug in the test script, faik.)

Cheers,
Rob 

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to