Re: [libxml++] windows compile error with latest release



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Mercredi 4 Juin 2003 07:56, Forrest Osterman a écrit :
> Hi guys,
> I'm having a problem compiling your latest release. (0.23.0)
>

Thanks for reporting it.

> I'm compiling on win2k, with msvc6.
> I followed the instructions for unpacking the libraries, and got the
> libxml2 and iconv into the correct places, and when I compile, I get this
> error:
>
> Compiling...
> domparser.cc
> d:\development\lib\libxml++-0.23.0\libxml++\keepblanks.h(17) : error C2258:
> illegal pure syntax, must be '= 0'
> d:\development\lib\libxml++-0.23.0\libxml++\keepblanks.h(17) : error C2252:
> 'Default' : pure specifier can only be specified for functions
>
>   class KeepBlanks {
>     public:
> -->      static const bool Default = true;
>
> So, I guess it thinks you are trying to declare a pure virtual function?
> I'm not sure why. Has this been addressed already?

It's not a virtual function, it's a constant. It's seems that msvc6 does not 
support this syntax.
Could someone used to msvc6 tells us how to workaround this ?

Cheers,

Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+3aCrB+sU3TyOQjARAmrPAJ4+M01CGxFEMUFcoAJZsgxWIzvB6gCdEzqT
QGByT1oqHhGpYYsxcSp2fHM=
=y/Ul
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]