Andreas Vox <[EMAIL PROTECTED]> writes:
>
> I made more inquiries. The offending code in gcc/.../boost_concept_check.h is:
> (I guess some C++ afficionados know what this is about, I don't)
>
> __________
template <class _Tp>
struct _InputIteratorConcept
{
void __constraints() {
__function_requires< _TrivialIteratorConcept<_Tp> >();
// require iterator_traits typedef's
typedef typename std::iterator_traits<_Tp>::difference_type _D; //<<<<<<
// __function_requires< _SignedIntegerConcept<_D> >();
typedef typename std::iterator_traits<_Tp>::reference _R; //<<<<<<
...
> So the errormessage seems justified and we only have to find
> out which red-dripping includefile defined _D and _R ...
Ok, I found it. It's in /usr/include/ctype.h under the heading
/* backward compatibility */ -- hahaha, what about forward
compability?
Lars, Jean_Marc, what would be the best solution:
1 - change include order (if possible)
2 - undef _D and _R after ctype.h was included
3 - make a patch for Boost
4 - make a patch for Apples ctype.h
Well, I guess 1) might not work and 4) will take to long to
wait for. Let me know if I should test a solution.
/Andreas