missing ';' before namespace when using boost 1.4.2

Posted by Adam Haile on Stack Overflow See other posts from Stack Overflow or by Adam Haile
Published on 2010-03-23T13:33:46Z Indexed on 2010/03/23 13:43 UTC
Read the original article Hit count: 295

Filed under:
|
|

Working on moving some C++ code from Linux over to Windows. The code uses boost 1.4.2, however it keeps failing out on building the boost modules. Basically, every boost hpp file that happens to contain "namespace boost" errors with:

error C2143: syntax error : missing ';' before 'namespace' 

Any idea what could be causing this?

© Stack Overflow or respective owner

Related posts about boost

Related posts about c++