the code fragment from line 138 until line 167 is:

--------------------------------------------------------------------------------
...
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // 110 istreambuf_iterator::equal not const
      // NB: there is also number 111 (NAD, Future) pending on this  
function.
      /// Return true both iterators are end or both are not end.
      bool
      equal(const istreambuf_iterator& __b) const
      {
        const bool __thiseof = _M_at_eof();
        const bool __beof = __b._M_at_eof();
        return (__thiseof && __beof || (!__thiseof && !__beof));
      }

    private:
      int_type
      _M_get() const
      {
        const int_type __eof = traits_type::eof();
        int_type __ret = __eof;
        if (_M_sbuf)                         // this is line 156
          {
            if (!traits_type::eq_int_type(_M_c, __eof))
              __ret = _M_c;
            else if (!traits_type::eq_int_type((__ret = _M_sbuf- 
 >sgetc()),
                                               __eof))
              _M_c = __ret;
            else
              _M_sbuf = 0;
          }
        return __ret;
      }
...
--------------------------------------------------------------------------------

If you need more I can send maybe the file as an attachment...

Sven

Am 15.11.2009 um 18:44 schrieb Martin Costabel:

> Sven Barendt wrote:
>> Ok, I have updated XCode to version 3.1.4 (the latest for my OS X  
>> 10.5) and reinstalled fink. The error message is
>> --------------------------------------------------------------------------
>> ...
>> g++ -DHAVE_CONFIG_H -I. -I. -I../Vector -I..  -I/sw/include -O - 
>> ansi -pedantic -Wall -D_GNU_SOURCE -g -O2  -c -o shared/Boost.o  
>> Boost.cc
>> /usr/include/c++/4.0.0/bits/streambuf_iterator.h: In member  
>> function 'typename _Traits::int_type  
>> std::istreambuf_iterator<_CharT, _Traits>::_M_get() const':
>> /usr/include/c++/4.0.0/bits/streambuf_iterator.h:156: error:  
>> expected `(' before '-=' token
>
> What do you have in line 156 of that file? I see there
>
>       if (_M_sbuf)
>
> Kind of hard to see how this can lead to the error message you are  
> getting.
>
> -- 
> Martin
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to