Boost logo

Boost Users :

Subject: [Boost-users] [Spirit.Qi] Compile Error for MiniXml/Employee example
From: HT4N - (ht4n_at_[hidden])
Date: 2009-11-22 01:18:12


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.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2



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