
11 Jun
2006
11 Jun
'06
1:48 a.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