Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2007-02-27 11:58:47


Christian Henning wrote:
> Not sure what you mean with getting space in the sandbox. When I was
> young I just made space. ;-))

:-)

> Anyway, I just tried to compile the test code and it failed on MSVC
> 7.1 . Is that a known issue?

No. I haven't even tried to compile that with MSVC, only with my system
g++. There is clearly room for improvement, i.e. to make the code as
portable as possible.

>
> c:\boost\boost\xml\dom\node.hpp(40) : error C2063:
> 'boost::xml::dom::detail::factory' : not a function
> c:\boost\boost\xml\dom\node.hpp(54) : see reference to class
> template instantiation 'boost::xml::dom::node<S>' being compiled
> c:\boost\boost\xml\dom\node.hpp(51) : error C2942:
> 'boost::xml::dom::node<S>' : template-class-id redefined as a formal
> argument of a function
> c:\boost\boost\xml\dom\attribute.hpp(18) : error C2063:
> 'boost::xml::dom::detail::factory' : not a function
> c:\boost\boost\xml\dom\attribute.hpp(27) : see reference to
> class template instantiation 'boost::xml::dom::attribute<S>' being
> compiled

That looks bogus. Surely boost::xml::dom::detail::factory() is a function (template).
I think MSVC is confused. :-)

Thanks,
                Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk