[Boost-bugs] [Boost C++ Libraries] #11864: C4348 - Multiple warnings in Boost::Spirit

Subject: [Boost-bugs] [Boost C++ Libraries] #11864: C4348 - Multiple warnings in Boost::Spirit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-23 02:33:45


#11864: C4348 - Multiple warnings in Boost::Spirit
-------------------------------------------+---------------------
 Reporter: Alister Fong <alister_fong@…> | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------
 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> ]
 ============================================================================

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11864>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC