Sisyphus wrote:
Reinhard Pagitsch wrote:
Hello Steve,
Steve Hay wrote:
why is it that the following XS code outputs -25:
[code sniped]
On my system (Windows 2000) the output is -1, as expected.
I'm also on Windows 2000 but I'm getting the same weird behaviour as Steve - wrt to each of MinGW (gcc) *and* MSVC++ 6.0 *and* MSVC++ 7.0.
(I have perls 5.8 built with each of those 3 compilers.)
I have no idea why this is happening.
Cheers, Rob
I use the "Microsoft Visual C++ Toolkit 2003" and the "Microsoft Platform SDK February 2003" and
perl v5.6.1 from Activestate
Maybe there is an implementation of stricmp in Perl which overwrites the implementation from the other?
regards, Reinhard