- From: Randy Kobes <randy@theoryx5.uwinnipeg.ca>
- Date: Fri, 17 Sep 2004 03:40:13 +0000
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- Cc: public-qa-dev@w3.org
On Tue, 14 Sep 2004, Bjoern Hoehrmann wrote:
[ ... ]
> Ah, sorry, I should have mentioned that. This is indeed a known issue
> and fixed, but so far only in the opensp_1_5_branch branch in CVS. To
> build OpenSP with Visual C++ 6
>
> % cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openjade
> login
> % cvs -d...:/cvsroot/openjade co -r opensp_1_5_branch sp
> % cd sp
> % build-win32.bat
>
> should do (through the IDE). This works at least using VC++ 7.1, I have
> not had a chance yet to try it for Visual C++ 6. There is also a SP.mak
> but I think it is quite outdated and thus unusable, but AFAIU it is
> auto-generated using the IDE, so this might work best for you.
That works - thanks. I got the lib built OK, but then ran
into trouble building the Perl stuff. I take it though
this is work in progress - after removing the comment:
=========================================================
Index: typemap
===================================================================
RCS file: /cvsroot/spo/spo/typemap,v
retrieving revision 1.4
diff -u -r1.4 typemap
--- typemap 27 Aug 2004 05:53:05 -0000 1.4
+++ typemap 17 Sep 2004 03:34:30 -0000
@@ -4,7 +4,6 @@
OUTPUT
SgmlParserOpenSPObj
- # this needs work...
SV* rv = newRV_noinc(sv_2mortal((SV*)newHV()));
sv_setsv($arg, rv);
sv_bless($arg, gv_stashpv(CLASS, 1));
@@ -14,6 +13,5 @@
INPUT
SgmlParserOpenSPObj
- # this needs work...
SV** svp = hv_fetch((HV*)SvRV($arg), \"__o\", 3, 0);
$var = ($type)SvIV(*svp);
==================================================================
I got the following error:
=================================================================
cl -TP -EHsc -ID:/unzipped/sp/ -c -nologo -Gf -W3
-MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD
-DNDEBUG -O1 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\"
"-ID:\Perl\lib\CORE" -DSP_MULTI_BYTE=1 OpenSP.c OpenSP.c
C:\VStudio\VC98\include\math.h(514) : error C2894: templates
cannot be declared to have 'C' linkage
============================================================
--
best regards,
randy
Received on Friday, 17 September 2004 03:53:37 UTC