$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Markus Schöpflin (schoepflin_at_[hidden])
Date: 2001-09-06 04:11:04
--- In boost_at_y..., "Markus Schöpflin" <schoepflin_at_g...> wrote:
> Hi there,
> 
> if I try to compile "libs\utility\iterator_adaptor_test.cpp" using 
> boost 1.24.0 I get the following errors:
> 
> ...\boost\detail\iterator.hpp(130) : error C2039: '_DBG_iter' : is 
> not a member of '_STLD'
> ...\boost\detail\iterator.hpp(130) : error C2061: syntax error : 
> identifier '_DBG_iter'
> 
> and a whole lot of other errors which are probably related to this 
> errors. Release build works fine.
> 
> Could someone please tell me, if the above combination of tools 
> should work? If yes, what am I doing wrong?
> 
> TIA, Markus
Hi all,
after further investigation, I was able to compile the file in debug 
mode. The solution was to include <string> _before_ including 
<boost/iterator_adaptors.hpp>. This makes sure that _DBG_iter is 
defined when referenced in <boost/detail/iterator.hpp>.
Perhaps this could be fixed by including <string> in 
<boost/detail/iterator.hpp> when __SGI_STL_PORT and __STL_DEBUG are 
defined.
Markus