Boost logo

Boost :

From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2002-10-10 10:27:59

Douglas Gregor wrote:
> I don't understand what is going on with the Signals library on Borland, and
> the errors look quite suspicious... The first error shows up in vector.h, and
> there are also some errors in the concept check headers (but the concept
> check library compiles without a wimper!). Also, I can't duplicate _any_ of
> these errors with the same compiler on my WinXP machine. config_test looks
> like its having the same problem as Signals.

Do you have exactly the same compiler version on the two machines?
The compiler behaviour as regards standard compliance changed also
between minor revisions, e.g. from 5.5.0 to 5.5.1 as well as from 5.6.0
(out-of-the-box BCB6) to 5.6.1 (BCB6 with Update 2). I believe that
5.7.0 (Kylix 3) behaves as 5.6.1, but I'm not sure.

> There errors are:
> Error E2439 d:\Program Files\Borland\Bcc55\include\vector.h 654: 'typename' is
> only allowed in template declarations
> Error E2434 d:\Program Files\Borland\Bcc55\include\vector.h 1115: Template
> declaration missing template parameters ('template<...>')
> Error E2316 C:\boost\site\boost/concept_check.hpp 668: 'iterator_traits' is
> not a member of 'std'
> Error E2040 C:\boost\site\boost/concept_check.hpp 668: Declaration terminated
> incorrectly
> Error E2316 C:\boost\site\boost/concept_check.hpp 684: 'iterator_traits' is
> not a member of 'std'
> Error E2228 C:\boost\site\boost/concept_check.hpp 684: Too many error or
> warning messages

Mine is just a guess, but the handling of the 'typename' keyword changed
from 5.6.0 to 5.6.1 .

Hope this helps,
Nicola Musatti

Boost list run by bdawes at, gregod at, cpdaniel at, john at