Boost logo

Boost Users :

Subject: [Boost-users] std_hash_set_fwd.hpp:29: error: redeclared with 3 template parameter(s)
From: Mathieu Malaterre (mathieu.malaterre_at_[hidden])
Date: 2009-11-30 08:20:41


Has anyone seen this type of error before:

/usr/include/boost/spirit/home/phoenix/stl/algorithm/detail/././std_hash_set_fwd.hpp:29:
error: redeclared with 3 template parameter(s)
/usr/include/c++/4.3/backward/hash_set:84: note: previous declaration
‘template<class _Value, class _HashFcn, class _EqualKey, class _Alloc>
class __gnu_cxx::hash_set’ used 4 template parameter(s)
/usr/include/boost/spirit/home/phoenix/stl/algorithm/detail/././std_hash_set_fwd.hpp:36:
error: redeclared with 3 template parameter(s)
/usr/include/c++/4.3/backward/hash_set:285: note: previous declaration
‘template<class _Value, class _HashFcn, class _EqualKey, class _Alloc>
class __gnu_cxx::hash_multiset’ used 4 template parameter(s)
make[2]: *** [Simulation/CMakeFiles/GraphicDisplay.dir/GraphicDisplay/Visualization.o]
Error 1

System: debian stable
$ gcc -dumpversion
4.3.4
$ apt-cache policy libboost-all-dev
libboost-all-dev:
  Installed: 1.40.0.1
  Candidate: 1.40.0.1
  Version table:
 *** 1.40.0.1 0
        200 http://ftp.fr.debian.org testing/main Packages
        100 http://ftp.fr.debian.org unstable/main Packages
        100 /var/lib/dpkg/status

Thanks,

-- 
Mathieu

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net