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

Any help appreciated!
 
Thanks
 
HT


Windows 7: It works the way you want. Learn more.