Boost logo

Boost Users :

Subject: Re: [Boost-users] [Spirit.Qi] Compile Error for MiniXml/Employee example
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2009-11-22 09:35:52


> As I am considering to use Spirit.Qi for my project, I am ramping up
> myself through the examples given.
>
> I was able to compile the calcX examples. However, I have issues
> compiling Mini_XML* and Employee.cpp examples.
>
> I got the following errors:
>
> errors in directory c:\src\scratch\spirit.qi
> c:\src\boost141\boost\proto\extends.hpp(537) : error C2220: warning
> treated as error - no 'object' file generated warnings in directory
> c:\src\scratch\spirit.qi
> c:\src\boost141\boost\proto\literal.hpp(40) : warning see reference to
> class template instantiation 'boost::proto
> ::exprns_::extends<Expr,Derived,Domain>' being compiled
> c:\src\scratch\spirit.qi\spiritqimain.cpp(81) : warning see reference
> to class template instantiation 'boost::proto::utilit
> y::literal<T,Domain>' being compiled
> c:\src\scratch\spirit.qi\spiritqimain.cpp(70) : warning while compiling
> class template member function 'client::employee_pa
> rser<Iterator>::employee_parser(void)'
> c:\src\scratch\spirit.qi\spiritqimain.cpp(116) : warning see reference
> to class template instantiation 'client::employee_pa rser<Iterator>'
> being compiled
> c:\src\boost141\boost\proto\extends.hpp(537) : warning C4512:
> 'boost::proto::exprns_::extends<Expr,Derived,Domain
> >' : assignment operator could not be generated
> c:\src\boost141\boost\proto\literal.hpp(76) : warning C4512:
> 'boost::proto::utility::literal<T,Domain>' : assignm ent operator could
> not be generated

That's a warning coming from the Proto library, and it needs to be fixed
there. I'm cc'ing Eric Niebler (the author of proto).

Regards Hartmut

-------------------
Meet me at BoostCon
http://boostcon.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net