
10 Jun
2006
10 Jun
'06
7:48 p.m.
Silvester wrote:
How can i use spirit within a MFC-application?
VC7.1 complains about the inclusion of <windows.h> when I include "boost/spirit.hpp" and refuses any further compilation.
Make sure you include the MFC headers (<afxwin.h>) before the Spirit headers. Of course that's a workaround, not a solution, but I think it's the only way in this case. Sebastian Redl