C4348 - Multiple warnings in Boost::Spirit
When compiling using Boost 1.60 in MSVC 2010 I get the following 2 warnings which I never had before when using Boost 1.58 and is really annoying.
============================================================================
3>\boost/spirit/home/support/terminal.hpp(264): warning C4348: 'boost::spirit::terminal<Terminal>::result_helper' : redefinition of default parameter : parameter 3
3> with
3> [
3> Terminal=boost::spirit::tag::lit
3> ]
3> F:\CASS2\RR\library\Boost\include\boost/spirit/home/support/terminal.hpp(270) : see declaration of 'boost::spirit::terminal<Terminal>::result_helper'
3> with
3> [
3> Terminal=boost::spirit::tag::lit
3> ]
============================================================================
============================================================================
3>\boost/spirit/home/support/terminal.hpp(264): warning C4348: 'boost::spirit::terminal<Terminal>::result_helper' : redefinition of default parameter : parameter 4
3> with
3> [
3> Terminal=boost::spirit::tag::ulong_
3> ]
3> F:\CASS2\RR\library\Boost\include\boost/spirit/home/support/terminal.hpp(270) : see declaration of 'boost::spirit::terminal<Terminal>::result_helper'
3> with
3> [
3> Terminal=boost::spirit::tag::ulong_
3> ]
3> \boost/spirit/home/support/common_terminals.hpp(142) : see reference to class template instantiation 'boost::spirit::terminal<Terminal>' being compiled
3> with
3> [
3> Terminal=boost::spirit::tag::ulong_
3> ]
============================================================================
Change History
(10)
Resolution: |
→ fixed
|
Status: |
new → closed
|
When compiling using Boost 1.60 in MSVC 2010 I get the following 2 warnings which I never had before when using Boost 1.58 and is really annoying.
============================================================================ 3>\boost/spirit/home/support/terminal.hpp(264): warning C4348: 'boost::spirit::terminal<Terminal>::result_helper' : redefinition of default parameter : parameter 3 3> with 3> [ 3> Terminal=boost::spirit::tag::lit 3> ] 3> boost/spirit/home/support/terminal.hpp(270) : see declaration of 'boost::spirit::terminal<Terminal>::result_helper' 3> with 3> [ 3> Terminal=boost::spirit::tag::lit 3> ] ============================================================================
============================================================================ 3>\boost/spirit/home/support/terminal.hpp(264): warning C4348: 'boost::spirit::terminal<Terminal>::result_helper' : redefinition of default parameter : parameter 4 3> with 3> [ 3> Terminal=boost::spirit::tag::ulong_ 3> ] 3> \boost/spirit/home/support/terminal.hpp(270) : see declaration of 'boost::spirit::terminal<Terminal>::result_helper' 3> with 3> [ 3> Terminal=boost::spirit::tag::ulong_ 3> ] 3> \boost/spirit/home/support/common_terminals.hpp(142) : see reference to class template instantiation 'boost::spirit::terminal<Terminal>' being compiled 3> with 3> [ 3> Terminal=boost::spirit::tag::ulong_ 3> ] ============================================================================