Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-09-25 18:57:22


Martin M <martin.magnusson_at_[hidden]> writes:

> I use boost iterators and BGL in my project, which I normally compile
> with gcc. However, I wanted to try how portable it is, and tried to
> compile it with MSVC++ 6.
>
> After having sorted out a few minor quirks in my code, I get the error
> message "c:\program files\hack\microsoft visual
> studio\local\include\boost\type_traits\broken_compiler_spec.hpp(23) :
> fatal error C1506: unrecoverable block scoping error"
>
> Where could this stem from? I installed boost for VC++ from within
> Cygwin with the command line
> bjam "--prefix=c:\program files\hack\microsoft visual studio\local"
> "-sTOOLS=msvc" "--builddir=../boost_msvc_build" "-sMSVC_ROOT=c:\program
> files\hack\microsoft visual studio\vc98" install
>
> Any ideas?

Try building with an NT (not Cygwin) build of bjam from within a
regular NT command shell.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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