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::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 lex_iter_type;
typedef std::string::iterator str_iter_type;
typedef wave::context 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