Boost logo

Boost Users :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-06-10 21:48:10


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


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