The following message was posted last year on the Boost Users mailing
list, but I think I ran across a similar or related bug today:

Using MSVC6 and Boost 1.29.0, if you #include <boost/tokenizer.hpp>
in your precompiled headers, the following line crashes the compiler
identically to the message below:

boost::tokenizer<>::iterator it;

Simply moving the #include out of the precompiled header avoids the
crash.  If there is a better workaround or fix I would love to hear it,
or if the root cause can be discovered perhaps it could get fixed in
the next version.

Apologies if this is a known issue, but I haven't been able to find
any other information about it.

Thanks,
Ben


In [EMAIL PROTECTED], "Navi Singh"
 <[EMAIL PROTECTED]> wrote:
> The boost release 1.28.0 of the tokenizer library has the following
> problem: 
> There are 5 examples, namely, simple_example_1.cpp thru
> simple_example_5.cpp.  If I change the main() in each of the 5 to
> to main1() thru main5() and return 0; the vc60 compiler generates
> an internal compiler error when parsing the file 
> boost\iterator_adapters.hpp on line 869, where it is parsing the
> following lines:
>     reference operator*() const {
>          return policies().dereference(*this);
>     }


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to