Boost logo

Boost Users :

From: Vitali Gontsharuk (vitali.gontsharuk_at_[hidden])
Date: 2007-09-21 07:42:53


It seems that the moderator didn't want a message that long to be published,
so I had to delete the full log from the message, but it is still available
from the first message in this thread. You just have to download it and open
it from the disk.

Ok, i saw that the log file is not viewable directly (wrong MIME-type
> specified by server).
> So i copied it as text to the end of this message.
>
> The uppermost error appears in the the "fusion/support/detail/access.hpp"
> file in the 23. line, here a couple of the relevant code lines:
>
> namespace boost { namespace fusion { namespace detail
> {
> template <typename T>
> struct ref_result
> {
> typedef typename add_reference<typename T::type>::type type; //
> <----- THE ERROR IS THROWN HERE
> };
> ...
> }
>
> Here the correspoding error messages from the log:
> 1>D:\boost\include\boost/fusion/support/detail/access.hpp(23) : error
> C2143: syntax error : missing ';' before '<'
> 1> D:\boost\include\boost/fusion/support/detail/access.hpp(24) :
> see reference to class template instantiation
> 'fus_v2::boost::fusion::detail::ref_result<T>' being compiled
> 1>D:\boost\include\boost/fusion/support/detail/access.hpp(23) : error
> C4430: missing type specifier - int assumed. Note: C++ does not support
> default-int
> 1>D:\boost\include\boost/fusion/support/detail/access.hpp(23) : error
> C2039: 'type' : is not a member of '`global namespace''
> 1>D:\boost\include\boost/fusion/support/detail/access.hpp(23) : error
> C2238: unexpected token(s) preceding ';'
>
>
> But originally, the error comes from the following definition in our
> "cmd_processor.hpp" file:
> /// anonymous namespace for internal linking
> namespace
> {
> /// iterator through message definition files
> /// this class is designed to iterate sequentially through
> directories containing message definition files
> /// and through single file specifications additionaly defined, so it
> implements the iterator pattern and treats
> /// directory content and additional single file specification as one
> iterable sequence
> struct msgdef_file_iterator
> : boost::iterator_facade
> <
> msgdef_file_iterator
> , fs::path
> , boost::forward_traversal_tag
> >
> {
> ...
> private:
> /// type definition for a variant containing either nothing
> (empty_type) or directory_range or file_range
> typedef boost::variant<empty_type, directory_range, file_range>
> range_holder; // <----- range_holder DEFINITION IS HERE
>
> ...
> private:
> /// configuration settings
> cmdproc::config const* conf_;
> /// current range holder
> range_holder holder_; // <----- THE ERROR
> IS THROWN HERE
> /// current path which is used from the range
> mutable fs::path curr_path_;
> };
> ...
> }
>
> Here the corresponding error messages:
> 1> D:\boost\include\boost/variant/variant.hpp(1055) : see reference
> to class template instantiation
> 'boost::detail::variant::find_fallback_type<Types>' being compiled
> 1> with
> 1> [
> 1>
> Types=boost::mpl::l_item<boost::mpl::long_<3>,fus_v2::boost::fusion::pair<`anonymous-namespace'::msgdef_file_iterator::tag_empty,`anonymous-namespace'::msgdef_file_iterator::tag_empty>,boost::mpl::l_item<boost::mpl::long_<2>,fus_v2::boost::fusion::pair<`anonymous-namespace'::msgdef_file_iterator::tag_directory,`anonymous-namespace'::msgdef_file_iterator::msgdef_dirs>,boost::mpl::l_item<boost::mpl::long_<1>,fus_v2::boost::fusion::pair<`anonymous-namespace'::msgdef_file_iterator::tag_file,`anonymous-namespace'::msgdef_file_iterator::string_iterator_range>,boost::mpl::l_end>>>
>
> 1> ]
> 1> ..\..\..\conf\cmd_processor.cpp(400) : see reference to class
> template instantiation 'boost::variant<T0_,T1,T2>' being compiled
> 1> with
> 1> [
> 1> T0_=`anonymous-namespace'::msgdef_file_iterator::empty_type,
> 1>
> T1=`anonymous-namespace'::msgdef_file_iterator::directory_range,
> 1> T2=`anonymous-namespace'::msgdef_file_iterator::file_range
> 1> ]
>
> I hope, this can help you to be able to help me :)
> I really need your help!!!
> If you need any further information, please, let me know!
>
> Thanks in advance!
>
> Vitali Gontsharuk
>



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