Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-05-22 08:18:54


I was finally able to upgrade our company's boost installation from
1.25.1 to 1.30.0 last week :)) I happily tried to use it, but I ran into
a small problem: The compiler we are using is still the gcc 2.95.2 with
no chance for an upgrade in the foreseeable future. When I included
boost/lambda/lambda.hpp, I got:

/usr/include/g++/stl_deque.h:480: previous declaration `template <class
_Tp, class _Alloc = class allocator<_Tp1>, unsigned int __bufsiz = 0>
used 3 template parameters instead of 2

Is this expected? The docs say, that the lambda-lib is supposed to work
for the gcc 2.96, so what's required to use it with the gcc 2.95.2? Or
isn't it possible at all because the compiler is simply too old?

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: daniel.frey_at_[hidden], web:

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