Bug#617968: libstdc++6-4.5-dev: Apps that include <algorithm> FTBFS
tag 617968 + moreinfo
thanks
On 12.03.2011 23:56, Lisandro Damián Nicanor Pérez Meyer wrote:
> Package: libstdc++6-4.5-dev
> Version: 4.5.2-5
> Severity: important
>
> While recompiling package celestia, I got:
>
> In file included from /usr/include/c++/4.5/bits/stl_algo.h:60:0,
> from /usr/include/c++/4.5/algorithm:63,
> from mesh.cpp:16:
> /usr/include/c++/4.5/cstdlib:106:11: error: 'abs' is already declared in this scope
>
> It seems that including <algorithm> make it fail.
please attach a self-contained example (without using mesh).
Reply to: