Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-04-29 12:12:21


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.

I've had a confirmation from Brandon Bray at Microsoft:

>Just letting you know that we do have the bug you noticed with __ctor in
>a C2039 error in our database. It hasn't been fixed yet, but it is
>scheduled to be fixed within a few weeks from now. For reference, the
>bug info is:
>
>ID: VSWhidbey 38416
>TITLE: BOOST: use of default argument in constructor of class derived
> from class of same name in a different namespace, causes errors

A bit of a pain, even though easy to workaround.

--Beman


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