Boost logo

Boost :

From: larsbj_at_[hidden]
Date: 2001-08-31 08:40:02


Is this something that is interesting for the tuple implementators?


attached mail follows:


I thought we were in a code-freeze, bug fix mode? Well, as of today, it
appears that I cannot contribute. My compiler appears not to be up to this
tuple stuff.

Angus

cxx -std strict_ansi -nocleanup -DHAVE_CONFIG_H -I. -I. -I. -I.. -I..
-I../boost -I../src/cheaders -I/usr/local/include -msg_display_number
-msg_disable 11,193,236,261,401,611 -w0 -ptr
/usr/users/aleem/OTHERS_CODE/lyx/devel/lyx_cxx_repository -O2 -MD -c buffer.C
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 95: #445
template parameter "RET" is not used in declaring the parameter
types of
          function template "boost::detail::tuples::element<N>::get"
  template<class RET, class HT, class TT >
-----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 100: #445
          template parameter "RET" is not used in declaring the parameter
          types of function template
          "boost::detail::tuples::element<N>::get<RET,HT,TT>(boost::cons<HT,
          TT> &)"
  template<class RET, class HT, class TT >
-----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 109: #445
          template parameter "RET" is not used in declaring the parameter
          types of function template "boost::detail::tuples::element<0>::get"
  template<class RET, class HT, class TT>
-----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 114: #445
          template parameter "RET" is not used in declaring the parameter
          types of function template
          "boost::detail::tuples::element<0>::get<RET,HT,TT>(boost::cons<HT,
          TT> &)"
  template<class RET, class HT, class TT>
-----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 176: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::get"
template<int N, class HT, class TT>
-------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 191: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::get<N,HT,TT>(const boost::cons<HT, TT> &)"
template<int N, class HT, class TT>
-------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 262: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, TT>::get"
  template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 270: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, TT>::get<N>() const"
  template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 318: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, boost::null_type>::get"
  template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 326: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, boost::null_type>::get<N>()
const" template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 318: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, boost::null_type>::get [with
          HT=LyXTextClassList::size_type &]"
          detected during:
            instantiation of class "boost::cons<HT, boost::null_type> [with
                      HT=LyXTextClassList::size_type &]" at line 215
            instantiation of class "boost::cons<HT, TT> [with HT=bool &,
                      
TT=boost::detail::tuples::map_tuple_to_cons<LyXTextClassL
  ist::size_type &, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type>::type]" at line 379
            instantiation of class "boost::tuple<T0, T1, T2, T3, T4, T5, T6,
                      T7, T8, T9> [with T0=bool &,
                      T1=LyXTextClassList::size_type &, T2=boost::null_type,
                      T3=boost::null_type, T4=boost::null_type,
                      T5=boost::null_type, T6=boost::null_type,
                      T7=boost::null_type, T8=boost::null_type,
                      T9=boost::null_type]" at line 670
            instantiation of "boost::tuple<T1 &, T2 &, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type> boost::tie(T1 &, T2 &) [with T1=bool,
                      T2=LyXTextClassList::size_type]" at line 3580 of
                      "buffer.C"
  template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 326: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, boost::null_type>::get<N>() const
          [with HT=LyXTextClassList::size_type &]"
          detected during:
            instantiation of class "boost::cons<HT, boost::null_type> [with
                      HT=LyXTextClassList::size_type &]" at line 215
            instantiation of class "boost::cons<HT, TT> [with HT=bool &,
                      
TT=boost::detail::tuples::map_tuple_to_cons<LyXTextClassL
  ist::size_type &, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type>::type]" at line 379
            instantiation of class "boost::tuple<T0, T1, T2, T3, T4, T5, T6,
                      T7, T8, T9> [with T0=bool &,
                      T1=LyXTextClassList::size_type &, T2=boost::null_type,
                      T3=boost::null_type, T4=boost::null_type,
                      T5=boost::null_type, T6=boost::null_type,
                      T7=boost::null_type, T8=boost::null_type,
                      T9=boost::null_type]" at line 670
            instantiation of "boost::tuple<T1 &, T2 &, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type> boost::tie(T1 &, T2 &) [with T1=bool,
                      T2=LyXTextClassList::size_type]" at line 3580 of
                      "buffer.C"
  template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 262: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, TT>::get [with HT=bool &,
          
TT=boost::detail::tuples::map_tuple_to_cons<LyXTextClassList::size_ty
  pe &, boost::null_type, boost::null_type, boost::null_type,
          boost::null_type, boost::null_type, boost::null_type,
          boost::null_type, boost::null_type, boost::null_type>::type]"
          detected during:
            instantiation of class "boost::cons<HT, TT> [with HT=bool &,
                      
TT=boost::detail::tuples::map_tuple_to_cons<LyXTextClassL
  ist::size_type &, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type>::type]" at line 379
            instantiation of class "boost::tuple<T0, T1, T2, T3, T4, T5, T6,
                      T7, T8, T9> [with T0=bool &,
                      T1=LyXTextClassList::size_type &, T2=boost::null_type,
                      T3=boost::null_type, T4=boost::null_type,
                      T5=boost::null_type, T6=boost::null_type,
                      T7=boost::null_type, T8=boost::null_type,
                      T9=boost::null_type]" at line 670
            instantiation of "boost::tuple<T1 &, T2 &, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type> boost::tie(T1 &, T2 &) [with T1=bool,
                      T2=LyXTextClassList::size_type]" at line 3580 of
                      "buffer.C"
  template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 270: #445
          constant "N" is not used in declaring the parameter types of
          function template "boost::cons<HT, TT>::get<N>() const [with HT=bool
          &,
          
TT=boost::detail::tuples::map_tuple_to_cons<LyXTextClassList::size_ty
          pe &, boost::null_type, boost::null_type, boost::null_type,
          boost::null_type, boost::null_type, boost::null_type,
          boost::null_type, boost::null_type, boost::null_type>::type]"
          detected during:
            instantiation of class "boost::cons<HT, TT> [with HT=bool &,
                      
TT=boost::detail::tuples::map_tuple_to_cons<LyXTextClassL
                      ist::size_type &, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type>::type]" at line 379
            instantiation of class "boost::tuple<T0, T1, T2, T3, T4, T5, T6,
                      T7, T8, T9> [with T0=bool &,
                      T1=LyXTextClassList::size_type &, T2=boost::null_type,
                      T3=boost::null_type, T4=boost::null_type,
                      T5=boost::null_type, T6=boost::null_type,
                      T7=boost::null_type, T8=boost::null_type,
                      T9=boost::null_type]" at line 670
            instantiation of "boost::tuple<T1 &, T2 &, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type> boost::tie(T1 &, T2 &) [with T1=bool,
                      T2=LyXTextClassList::size_type]" at line 3580 of
                      "buffer.C"
  template <int N>
----------------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 86: #70
          incomplete type is not allowed
          detected during:
            instantiation of "T &boost::detail::tuples::default_arg<T &>::f()
                      [with T=bool]" at line 670
            instantiation of "boost::tuple<T1 &, T2 &, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type> boost::tie(T1 &, T2 &) [with T1=bool,
                      T2=LyXTextClassList::size_type]" at line 3580 of
                      "buffer.C"
    return generate_error<T>::no_default_values_for_reference_types;
-----------^
cxx: Error: ../boost/boost/tuple/detail/tuple_basic.hpp, line 86: #70
          incomplete type is not allowed
          detected during:
            instantiation of "T &boost::detail::tuples::default_arg<T &>::f()
                      [with T=LyXTextClassList::size_type]" at line 670
            instantiation of "boost::tuple<T1 &, T2 &, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type, boost::null_type, boost::null_type,
                      boost::null_type> boost::tie(T1 &, T2 &) [with T1=bool,
                      T2=LyXTextClassList::size_type]" at line 3580 of
                      "buffer.C"
    return generate_error<T>::no_default_values_for_reference_types;
-----------^
cxx: Info: ../boost/boost/tuple/detail/tuple_basic.hpp, line 458: #177-D
          variable "boost::<unnamed>::ignore" was declared but never
referenced
 detail::tuples::swallow_assign ignore;
--------------------------------^
cxx: Info: 16 errors detected in the compilation of "buffer.C".
make[2]: *** [buffer.o] Error 1
make[2]: Leaving directory `/usr/users/aleem/OTHERS_CODE/lyx/devel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/users/aleem/OTHERS_CODE/lyx/devel/src'
make: *** [all-recursive-am] Error 2


-- 
	Lgb

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