Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-04-18 10:18:15


At 06:10 AM 4/16/2003, Thomas Witt wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Thomas Witt wrote:
>|
>| Hi,
>|
>| When compiling code using iterator_adaptors with vc7.1 I often get
>| errors like the following
>|
>| c\graphmanager_detail.cpp(76) : error C2061: syntax error : identifier
>| '__ctor'
>|
>| H:\systems\boost_1_30_0\boost\iterator_adaptors.hpp(1409) : see
>| reference to class template instantiation
>|
>'boost::filter_iterator_generator<Predicate,Iterator,Value,Reference,Pointer
>,Category,Distance>'
>
>|
>| being compiled
>|
>| This seems like a bug in vc7.1. Does this ring a bell for anyone?
>
>Further investigation seems to indicate that this is not directly
>related to iterator_adaptors. Seems like vc7.1 generates messages
>containing __ctor whenever it is clueless.

If you look at the filesystem fstream_test, it is also failing with
messages relating to __ctor. The case is straightforward inheritance from
std::fstream classes; I have no idea why it causes a problem. The same code
works correctly with every compiler it has ever been tried with, IIRC,
including VC++ 6.0 and 7.0.

I've been waiting until we get the actual release version of VC++ 7.1 to
report the __ctor problem.

--Beman


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