Skip Menu |
 

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 49489
Status: resolved
Priority: 0/
Queue: Devel-Declare

People
Owner: Nobody in particular
Requestors: david.bouyssie [...] ipbs.fr
Cc:
AdminCc:

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



Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 3D21F19B81D7 for <bug-Devel-Declare [...] rt.cpan.org>; Mon, 7 Sep 2009 11:03:18 -0400 (EDT)
Received: (qmail 1433 invoked by uid 103); 7 Sep 2009 15:03:18 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 7 Sep 2009 15:03:18 -0000
Received: from hermes.ipbs.fr (HELO hermes.ipbs.fr) (193.48.0.125) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Mon, 07 Sep 2009 08:03:12 -0700
Received: from localhost (localhost [127.0.0.1]) by hermes.ipbs.fr (Postfix) with ESMTP id 69FA96008215D for <bug-Devel-Declare [...] rt.cpan.org>; Mon, 7 Sep 2009 17:03:07 +0200 (CEST)
Received: from hermes.ipbs.fr ([127.0.0.1]) by localhost (hermes.ipbs.fr [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 2U6GSr9wL4g8 for <bug-Devel-Declare [...] rt.cpan.org>; Mon, 7 Sep 2009 17:03:07 +0200 (CEST)
Received: from [127.0.0.1] (arachne.ipbs.fr [10.1.31.35]) by hermes.ipbs.fr (Postfix) with ESMTP id 3B154600697F3 for <bug-Devel-Declare [...] rt.cpan.org>; Mon, 7 Sep 2009 17:03:07 +0200 (CEST)
Delivered-To: cpan-bug+Devel-Declare [...] diesel.bestpractical.com
Subject: patch for win32
MIME-Version: 1.0
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
X-Spam-Status: No, hits=0.0 required=8.0 tests=
Return-Path: <david.bouyssie [...] ipbs.fr>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Devel-Declare [...] rt.cpan.org
Date: Mon, 07 Sep 2009 17:03:06 +0200
X-Spam-Level: *
content-type: text/plain; charset="utf-8"; format="flowed"
Message-ID: <4AA520AA.4040402 [...] ipbs.fr>
To: bug-Devel-Declare [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: David Bouyssié <david.bouyssie [...] ipbs.fr>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 634
Download (untitled) / with headers
text/plain 634b
Devel::Declare (5.0011) don't compile on win32 5.8.9 (active state) here is a patch for Devel::Declare (5.0011) tested on this platform (nmake test ok) thanks to Taro Nishino --- stolen_chunk_of_toke.c.orig Fri Aug 14 08:49:28 2009 +++ stolen_chunk_of_toke.c Fri Aug 14 14:44:51 2009 @@ -102,6 +102,14 @@ #if PERL_REVISION == 5 && PERL_VERSION == 8 && PERL_SUBVERSION >= 8 #define PERL_5_8_8_PLUS +static char ** +Perl_Ilinestart_ptr(pTHX) { + return &(aTHX->Ilinestart); +} +static SUBLEXINFO * +Perl_Isublex_info_ptr(pTHX) { + return &(aTHX->Isublex_info); +} #endif #if PERL_REVISION == 5 && PERL_VERSION > 8
MIME-Version: 1.0
In-Reply-To: <4AA520AA.4040402 [...] ipbs.fr>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <4AA520AA.4040402 [...] ipbs.fr>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20559-1315737809-1778.49489-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 159
Download (untitled) / with headers
text/plain 159b
We don't usually need that sort of extra code to get things working on Win32. Do you still need to do that with the latest Devel::Declare, 0.006006? -zefram
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-20559-1315737809-1778.49489-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <4AA520AA.4040402 [...] ipbs.fr> <rt-3.8.HEAD-20559-1315737809-1778.49489-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-6889-1323312061-491.49489-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 591
Download (untitled) / with headers
text/plain 591b
On Sun Sep 11 06:43:29 2011, ZEFRAM wrote: Show quoted text
> We don't usually need that sort of extra code to get things working on > Win32. Do you still need to do that with the latest Devel::Declare, > 0.006006?
Yes, you do. PL_linestart and PL_sublex_info were intentionally not exported on Windows because they were not supposed to be part of the public API (skipped in makedef.pl). So you need to cheat if you still want to use them from XS code. Build log with the latest Devel-Declare: http://ppm4.activestate.com/MSWin32-x86/5.8/825/Z/ZE/ZEFRAM/Devel-Declare-0.006008.d/log-20111106T063241.txt
MIME-Version: 1.0
In-Reply-To: <4AA520AA.4040402 [...] ipbs.fr>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <4AA520AA.4040402 [...] ipbs.fr>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17370-1328132845-1115.49489-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 41
Thanks. Fixed in Devel-Declare-0.006009.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.