Errors compiling multi_index hashed.cpp

::value". = ; &n= bsp; = ; &n bsp; = ; &n= bsp; "/FTS1/tmp/doc/boost/type_traits/i= s_base_and_derived.hpp",
". &nb= sp; = &nb= sp; &nb= sp; "/FT= S1/tmp/doc/boost/type_traits/is_base_and_derived.hpp",
Hi all, I've recently= downloaded boost to run on an IBM mainfram z/OS system (a port of vacpp). = I'm trying to compile multi_index\example\hashed.cpp (which I called stuf= f.cpp) and I'm getting the following errors. I'm a relative newbie with= C++ so I'm completely bamboozled by the compiler errors. Help with this wi= ll be greatly appreciated as I am currently in the process of trying to con= vince management to switch to C++ from C, and boost is one of my big hittin= g selling points. "/FTS1/tmp/doc/boost/mpl/aux_/integral_wrappe= r.hpp", line 85.30: CCN5431 (S) The declarator cannot be qualified with the= enclosing namespace "mpl_". = ; &n= bsp; ; &n= bsp; = ; &n= bsp; ; &n= bsp; = ; "'DOC.USER.CPP(STUFF)'", line 47.= 60: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter_en= try". It is not a POD (plain old data) type. &= nbsp; &nbs= p; & nbsp; &nbs= p; &= nbsp; &nbs p; &= nbsp; &nbs= p; &= nbsp; "'DOC.USER.CPP(STUFF)'", line= 47.60: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter= _entry". It is not a POD (plain old data) type.&n= bsp; = ; &n bsp; = ; &n= bsp; = ; &n bsp; = ; &n= bsp; "'DOC.USER.CPP(STUFF)'",= line 47.60: CCN6281 (W) "offsetof" cannot be applied to "struct word_cou= nter_entry". It is not a POD (plain old data) typ= e. &= nbsp; &nbs p; &= nbsp; &nbs= p; & nbsp; &nbs= p; &= nbsp; &nbs p; "'DOC.USER.CPP(STUFF= )'", line 51.59: CCN6281 (W) "offsetof" cannot be applied to "struct word= _counter_entry". It is not a POD (plain old dat= a) type. &= nbsp; &nbs p; &= nbsp; &nbs= p; & nbsp; &nbs= p; &= nbsp; &nbs p; "'DOC.USER.CPP= (STUFF)'", line 51.59: CCN6281 (W) "offsetof" cannot be applied to "struct = word_counter_entry". It is not a POD (plain old= data) type. &nb= sp; &nb= sp; = &nb= sp; &nb= sp; "'DOC.USER= .CPP(STUFF)'", line 51.59: CCN6281 (W) "offsetof" cannot be applied to "str= uct word_counter_entry". It is not a POD (plain= old data) type. = ; &n= bsp; ; &n= bsp; = ; &n= bsp; ; &n= bsp; "/FTS1= /tmp/doc/boost/mpl/aux_/integral_wrapper.hpp", line 85.30: CCN5431 (S) = The declarator cannot be qualified with the enclosing namespace "mpl_= ". &= nbsp; &nbs p; &= nbsp; &nbs= p; & nbsp; &nbs= p; &= nbsp; &nbs p; &= nbsp; "/FTS1/tmp/doc/boost/mpl/has_key.hpp", line 32.20: CCN5408 (S) = The base class "apply<boost::mpl::set0<mpl_::na>, &nb= sp; boost::multi_index::detail::duplicate_tag_mark>" is d eclared but not defined. &nb= sp; = &nb sp; = "/FTS1/tmp/doc/boost/multi_index/det ail/no_duplicate_tags.hpp", line 60.23: CCN5700 (I) The previous messag= e was produced while processing "struct boost::mpl::has_key&l t;boost::mpl::set0<mpl_::na>,boost::multi_index::detail::duplicat e_tag_mark>". &= nbsp; "/FTS1/tmp/doc/boost/type_traits/= is_base_and_derived.hpp", line 200.41: CCN5016 (S) The expression mus= t be an integral constant expression. &n= bsp; = ; &n bsp; = ; &n= bsp; = ; &n bsp; = ; &n= bsp; = ; "/FTS1/tmp/doc/boost/type_traits/is_base_and_deri= ved.hpp", line 200.33: CCN5700 (I) The previous message was produced while& nbsp; processing "boost::detail:: is_base_and_derived_impl<boost::multi_index::detail::tag_m ar= ker,boost::multi_index::tag<mpl_::na, &= nbsp; mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na ,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl _::= na,mpl_::na, mpl_::na,mpl_::na,mpl_::na= ,mpl_::na,mpl_::na> line 188.8: CCN5700 (I) The previous message= was produced while p= rocessing "struct boost::detail::is_base_and_derived_impl<boost: :multi_index::detail::tag_marker,boost::multi_index::tag<mpl_: :n= a, mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mp l_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_ ::na,= mpl_::na, mpl_::na,mpl_::na,mpl_::na,mp= l_::na,mpl_::na> line 209.7: = CCN6269 (S) The template argument for the non-type template parameter= of type "bool" must be an integral constant expression. &= nbsp; &nbs= p; & nbsp; &nbs= p; &= nbsp; "/FTS1/tmp/doc/boost/multi_index/tag.hpp", line 61.37: CCN5700 (I) The p= revious message was produced while processing "struct &nbs p; boost::is_base_and_derived<boost::multi_index::de tail::tag_marker,boost::multi_index::tag<mpl_::na,mpl_::na,mpl = _::na,mpl_::na, mpl_::na,mpl_::na,mpl _::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_: :na,m= pl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na, &nb sp; mpl_::na,mpl_::na> >". = ; &n= bsp;

"David Crayford" wrote: Could you please send the email again. It got all messed into one huge, unreadable single line. /Pavel

boost-bounces@lists.boost.org wrote on 22/09/2005 09:11:52 AM:
"David Crayford" wrote:
Could you please send the email again. It got all messed into one huge, unreadable single line.
/Pavel
_______________________________________________ Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost Hi all, I've recently downloaded boost to run on an IBM mainfram z/OS system (a port of vacpp). I'm trying to compile multi_index\example\hashed.cpp (which I called stuff.cpp) and I'm getting the following errors. I'm a relative newbie with C++ so I'm completely bamboozled by the compiler errors. Help with this will be greatly appreciated as I am currently in the process of trying to convince management to switch to C++ from C, and boost is one of my big hitting selling points. "/FTS1/tmp/doc/boost/mpl/aux_/integral_wrapper.hpp", line 85.30: CCN5431 (S) The declarator cannot be qualified with the enclosing namespace "mpl_". "'DOC.USER.CPP(STUFF)'", line 47.60: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter_entry". It is not a POD (plain old data) type. "'DOC.USER.CPP(STUFF)'", line 47.60: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter_entry". It is not a POD (plain old data) type. "'DOC.USER.CPP(STUFF)'", line 47.60: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter_entry". It is not a POD (plain old data) type. "'DOC.USER.CPP(STUFF)'", line 51.59: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter_entry". It is not a POD (plain old data) type. "'DOC.USER.CPP(STUFF)'", line 51.59: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter_entry". It is not a POD (plain old data) type. "'DOC.USER.CPP(STUFF)'", line 51.59: CCN6281 (W) "offsetof" cannot be applied to "struct word_counter_entry". It is not a POD (plain old data) type. "/FTS1/tmp/doc/boost/mpl/aux_/integral_wrapper.hpp", line 85.30: CCN5431 (S) The declarator cannot be qualified with the enclosing namespace "mpl_". "/FTS1/tmp/doc/boost/mpl/has_key.hpp", line 32.20: CCN5408 (S) The base class "apply<boost::mpl::set0<mpl_::na>, boost::multi_index::detail::duplicate_tag_mark>" is declared but not defined. "/FTS1/tmp/doc/boost/multi_index/detail/no_duplicate_tags.hpp", line 60.23: CCN5700 (I) The previous message was produced while processing "struct boost::mpl::has_key<boost::mpl::set0<mpl_::na>,boost::multi_index::detail::duplicate_tag_mark>". "/FTS1/tmp/doc/boost/type_traits/is_base_and_derived.hpp", line 200.41: CCN5016 (S) The expression must be an integral constant expression. "/FTS1/tmp/doc/boost/type_traits/is_base_and_derived.hpp", line 200.33: CCN5700 (I) The previous message was produced while processing "boost::detail::is_base_and_derived_impl<boost::multi_index::detail::tag_marker,boost::multi_index::tag<mpl_::na, mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na, mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na> >::value". "/FTS1/tmp/doc/boost/type_traits/is_base_and_derived.hpp", line 188.8: CCN5700 (I) The previous message was produced while processing "struct boost::detail::is_base_and_derived_impl<boost::multi_index::detail::tag_marker,boost::multi_index::tag<mpl_::na, mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na, mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na> >". "/FTS1/tmp/doc/boost/type_traits/is_base_and_derived.hpp", line 209.7: CCN6269 (S) The template argument for the non-type template parameter of type "bool" must be an integral constant expression. "/FTS1/tmp/doc/boost/multi_index/tag.hpp", line 61.37: CCN5700 (I) The previous message was produced while processing "struct boost::is_base_and_derived<boost::multi_index::detail::tag_marker,boost::multi_index::tag<mpl_::na,mpl_::na,mpl_::na,mpl_::na, mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na,mpl_::na, mpl_::na,mpl_::na> >".
participants (2)
-
David Crayford
-
Pavel Vozenilek