Skip Menu |

This queue is for tickets about the JSON-YAJL CPAN distribution.

Report information
The Basics
Id: 69113
Status: resolved
Priority: 0/
Queue: JSON-YAJL

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 0.08



Subject: win32 mingw/gcc doesn't have sprintf_s, so use defined(_MSC_VER)
win32 mingw/gcc doesn't have sprintf_s, so use defined(_MSC_VER) like #if ( (defined(_WIN32) || defined(WIN32) ) && ( defined(_MSC_VER) ) ) #define snprintf sprintf_s #endif otherwise strawberryperl folks will get yajl\yajl_tree.o:yajl_tree.c:(.text+0x46): undefined reference to `sprintf_s' ...
Thanks, this will be fixed in 0.10. Cheers, Leon