W3C home > Mailing lists > Public > public-qa-dev@w3.org > September 2004

Re: SGML::Parser::OpenSP Win32 PPMs

From: Randy Kobes <randy@theoryx5.uwinnipeg.ca>
Date: Sat, 18 Sep 2004 18:22:43 +0000
Message-Id: <6E04D32C-0AA8-11D9-86DD-000A95E54002@theoryx5.uwinnipeg.ca>
Cc: public-qa-dev@w3.org
To: Bjoern Hoehrmann <derhoermi@gmx.net>




On Fri, 17 Sep 2004, Bjoern Hoehrmann wrote:

> [ ... ] so maybe you could apply the following patch and
> try again?
>
> ...
> Index: OpenSP.xs
> ===================================================================
> RCS file: /cvsroot/spo/spo/OpenSP.xs,v
> retrieving revision 1.14
> diff -u -p -r1.14 OpenSP.xs
> --- OpenSP.xs   14 Sep 2004 08:12:24 -0000      1.14
> +++ OpenSP.xs   17 Sep 2004 09:32:27 -0000
> @@ -4,6 +4,11 @@
>
>  // todo: add THX stuff?
>
> +// woraround for broken math.h in VC++ 6.0
> +#if defined(_MSC_VER) && _MSC_VER < 1300
> +#include <math.h>
> +#endif
> +
>  extern "C"
>  {
>  #include "EXTERN.h"
> ...
>
> It should solve at least the C2894 problem. Oh, and yes, the module is
> not yet ready for a CPAN release, the typemap in particular needs some
> attention...

That patch does work, and all the tests subsequently pass.
I've put up a trial ppm package of SGML-Parser-OpenSP at
    http://theoryx5.uwinnipeg.ca/ppms/
if anyone wants to try it. This should run a post-install
script to fetch and install the needed osp152.dll; if this
doesn't work, this can be obtained from
    http://theoryx5.uwinnipeg.ca/ppms/scripts/
which should subsequently be placed somewhere in one's
PATH.

-- 
best regards,
randy
Received on Monday, 20 September 2004 01:57:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:44 GMT