Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2001-05-19 14:46:20


Sofus,
        I've finally looked into this and it is a Visual C++-specific bug. I was not
able to fix the problem using any of the usual methods (extra typedefs,
dropping "template" and/or "typename" keywords, etc.), so unfortunately the
only recourse is to #define BOOST_NO_STD_ALLOCATOR. I've verified that this
works correctly with MSVC 6.0sp5 with STLport 4.0.

        Doug

On Wednesday 16 May 2001 09:26 am, you wrote:
> This simple program results in (yet another) Internal Compiler Error on
> MSVC:
>
> #include <boost/function.hpp>
>
> void main()
> {
>
> }
>
> I am using function-05-13.zip, MSVC6SP4, and STLport 4.0. It seems to be
> related to STLport. When I switch off STLport (removing the STLport
> directory from the include path), it compiles fine.
>
> This is the error that I am getting:
>
> Compiling...
> test.cpp
>
> c:\lambdasoft\libraries\boost\boost\detail\function_base.hpp(184) :
> fatal error C1001: INTERNAL COMPILER ERROR
>
>
> It also have tried with the newer STLport 4.1 Beta 6 (April 16, 2001),
> but the problem persists.
>
> Best regards,
>
> Sofus Mortensen
>
> Comet - Grunge free COM programming in C++
> http://www.lambdasoft.dk/comet
>
>
> To unsubscribe, send email to: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk