I applied the patch. So for gcc < 2.96, lambda now includes deque, and
works as a compensation for this extra dependency.

  Jaakko

On Thu, 22 May 2003, Daniel Frey wrote:

> Jaakko Jarvi wrote:
> > I can't now even get the deque error you mention, can you send me
> > the error listing (maybe outside of boost list). Maybe there is a better
> > way to fix it instead of including deque.
>
> The error was exactly what I quoted in the first posting of this thread.
>   The gcc uses a non-conformant deque which has a third parameter, thus
> the forward declaration doesn't work.
>
> Here's the patch for boost/lambda/detail/operator_return_type_traits.hpp:
>
> 26a27,37
>  > // The GCC 2.95.x uses a non-conformant deque
>  > #if BOOST_WORKAROUND(__GNUC__, == 2) && __GNUC_MINOR__ <= 96
>  > #  include <deque>
>  > #else
>  >
>  > namespace std {
>  >  template <class T, class Allocator> class deque;
>  > }
>  >
>  > #endif
>  >
> 869d879
> <  template <class T, class Allocator> class deque;
>
> Please note that I'm not sure about the status of gcc 2.95.3 or other
> sub-versions, so please someone with more experience have a look at
> this, I'm sure it can be improved :)
>
> Regards, Daniel
>
> --
> Daniel Frey
>
> aixigo AG - financial training, research and technology
> Schloß-Rahe-Straße 15, 52072 Aachen, Germany
> fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
> eMail: [EMAIL PROTECTED], web: http://www.aixigo.de
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to