Boost logo

Boost :

Subject: [boost] [spirit][1.60] MSVC warnings (was: Boost 1.60.0 beta 1 Release Candidate 4 available for testing)
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-12-08 01:43:19


On 2015-12-08 08:52, Thomas Trummer wrote:
> Failed to copy the right example; for the actual warning see below...
>
>> === boost::log creates over 8000 warnings, which seems a bit excessive:
>
>> compile-c-c++ bin.v2\libs\log\build\msvc-9.0\release\build-no\link-static\log-api-winnt\threading-multi\text_file_backend.obj
>> text_file_backend.cpp
>> .\boost/spirit/home/support/terminal.hpp(264) : warning C4348: 'boost::spirit::terminal<Terminal>::result_helper' : redefinition of default parameter : parameter 4
>> with
>> [
>> Terminal=boost::spirit::tag::lit
>> ]
>> .\boost/spirit/home/support/terminal.hpp(270) : see declaration of 'boost::spirit::terminal<Terminal>::result_helper'
>> with
>> [
>> Terminal=boost::spirit::tag::lit
>> ]
>> .\boost/spirit/home/support/common_terminals.hpp(142) : see reference to class template instantiation 'boost::spirit::terminal<Terminal>' being compiled
>> with
>> [
>> Terminal=boost::spirit::tag::lit
>> ]

This is a problem in Boost.Spirit. It should be fixed in develop with
this PR:

https://github.com/boostorg/spirit/pull/164

I hope, it will be merged to master for 1.60?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk