Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-02-22 13:51:55


Hello,

I would like to address this issue to boost::wave authors. First of all great lib! Many thanks!

During the compilation with MSVC8 Express Edition I get a warning:

c:\boost\include\boost-1_33_1\boost\wave\cpp_context.hpp(112) : warning C4355: 'this' : used in
base member initializer list
        c:\boost\include\boost-1_33_1\boost\wave\cpp_context.hpp(106) : while compiling class
template member function 'boost::wave::context<IteratorT,LexIteratorT>::context(const
std::_String_iterator<_Elem,_Traits,_Alloc> &,const
std::_String_iterator<_Elem,_Traits,_Alloc> &,const char *,const TraceT &)'
        with
        [
            IteratorT=token_groups::str_iter_type,
            LexIteratorT=token_groups::lex_iter_type,
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>,
            TraceT=boost::wave::context_policies::default_preprocessing_hooks
        ]

My typedefs look like:
        typedef wave::cpplexer::lex_token<> token_type;
        typedef wave::cpplexer::lex_iterator<token_type> lex_iter_type;

        typedef std::string::iterator str_iter_type;

        typedef wave::context<str_iter_type, lex_iter_type> context_type;
        typedef context_type::iterator_type ctx_iter_type;

Is there any chance that this warning will be suppressed in the next release, since it is a little
bit annoying. I can't do anything about it as a user of wave and I also try to follow the rule to
compile clean without warnings.

Many thanks and

With Kind Regards,

Ovanes Markarian


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