[Spirit.Qi] Compile Error for MiniXml/Employee example
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 ' : assignment operator could not be generated
c:\src\boost141\boost\proto\literal.hpp(76) : warning C4512: 'boost::proto::utility::literal 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:WLM...
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
' being compiled c:\src\scratch\spirit.qi\spiritqimain.cpp(81) : warning see reference to class template instantiation 'boost::proto::utilit y::literal ' 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 ' : assignment operator could not be generated c:\src\boost141\boost\proto\literal.hpp(76) : warning C4512: 'boost::proto::utility::literal
' : 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
participants (2)
-
Hartmut Kaiser
-
HT4N -