Boost logo

Boost :

Subject: [boost] Solaris, iterator_traits, wrong number of template arguments
From: Jeremy C. Reed (reed_at_[hidden])
Date: 2010-12-17 08:05:38


I upgraded from 1.41.0 to 1.45.0 and started getting the following:

   /udir/jreed/pkg/include/boost/array.hpp:94: error:
   wrong number of template arguments (2, should be 1)

I looked at config.log output from the /boost_1_45_0/libs/config and it
showed:

  "./../../libs/config/test/boost_no_std_iter_traits.ipp", line 34:
  Error: iterator_traits is not a member of std.

So BOOST_NO_STD_ITERATOR_TRAITS was defined in my user.hpp.

This is on Solaris 10 with g++ (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Anyone using boost with gcc 3.4.x on Solaris 10?

I know the gcc is old.

My workaround is to comment out the BOOST_NO_STD_ITERATOR_TRAITS macro
in my /udir/jreed/pkg/include/boost/config/user.hpp.

Anyone have a workaround for this?

  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr '#-~' '\-.-{'


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk