Skip Menu |

This queue is for tickets about the JavaScript-SpiderMonkey CPAN distribution.

Report information
The Basics
Id: 6984
Status: resolved
Priority: 0/
Queue: JavaScript-SpiderMonkey

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

Bug Information
Severity: Important
Broken in: 0.10
Fixed in: (no value)



Subject: microsoft compiler fixes
The microsoft compiler version 6 needs #define snprintf _snprintf added to SpiderMonkey.xs (somewhere at beginnig of file) and int size = 400; char msg[size]; needs to be int size = 400; char msg[400]; cheers
Date: Tue, 27 Jul 2004 15:25:37 -0700
From: "Mike Schilli" <m [...] perlmeister.com>
Subject: Re: [cpan #6984] microsoft compiler fixes
To: bug-JavaScript-SpiderMonkey [...] rt.cpan.org
RT-Send-Cc:
Guest via RT wrote on 7/15/2004, 7:41 PM: Show quoted text
> The microsoft compiler version 6 needs > > #define snprintf _snprintf
Which define could be used to detect this compiler? Something like #ifdef VISUAL_FOOBAR_6 #define snprintf _snprintf #endif -- -- Mike Mike Schilli m@perlmeister.com
[m@perlmeister.com - Tue Jul 27 18:59:48 2004]: Show quoted text
> Guest via RT wrote on 7/15/2004, 7:41 PM: >
> > The microsoft compiler version 6 needs > > > > #define snprintf _snprintf
> > Which define could be used to detect this compiler? Something like > > #ifdef VISUAL_FOOBAR_6 > #define snprintf _snprintf > #endif
#ifdef WIN32 #define snprintf _snprintf #endif
[guest - Tue Aug 24 03:15:19 2004]: Show quoted text
>> > #ifdef VISUAL_FOOBAR_6
> > #define snprintf _snprintf > > #endif
> > #ifdef WIN32 > #define snprintf _snprintf > #endif
Taken care of in 0.11.