Skip Menu |

This queue is for tickets about the Win32-GuiTest CPAN distribution.

Report information
The Basics
Id: 111529
Status: resolved
Priority: 0/
Queue: Win32-GuiTest

People
Owner: Nobody in particular
Requestors: NAWGLAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.62
Fixed in: (no value)



Subject: Unable to compile on windows using visual studio 2008 or higher
strncasecmp is not supported by visual studio starting with vs 2008. Easy to fix. patch attached. -- Dez.
Subject: guitest_patch.diff
*** GuiTest.xs.orig 2016-01-28 16:48:20.209235100 -0500 --- GuiTest.xs 2016-01-28 16:26:41.862343200 -0500 *************** *** 40,45 **** --- 40,46 ---- #define SHARED_ATTR __attribute__((section ("shared_seg"), shared)) #else #define SHARED_ATTR + #define strncasecmp _strnicmp #endif #pragma data_seg(".shared")
Also wanted to comment that the other open issue about the missing header file is indeed fixed. I also received that error using version 1.61, the fixed version 1.62 exposed the use of a posix function (which msvc doesn't support). The #define in the provided patch uses the msvc function to compare the strings instead.
fixed in 1.63