Opened 9 years ago
Closed 9 years ago
#9693 closed Bugs (fixed)
error C2039: 'proto_tag' : is not a member of 'boost::phoenix::custom_terminal<boost::log::v2_mt_nt5::expressions::format_date_time_terminal<T,FallbackPolicyT,CharT>,void>'
Reported by: | Owned by: | Andrey Semashev | |
---|---|---|---|
Milestone: | To Be Determined | Component: | log |
Version: | Boost Development Trunk | Severity: | Regression |
Keywords: | Cc: |
Description
Some time in the last month the following statement stopped compiling with modular-boost/master on visual studio 2013.
The first error is...
error C2039: 'proto_tag' : is not a member of 'boost::phoenix::custom_terminal<boost::log::v2_mt_nt5::expressions::format_date_time_terminal<T,FallbackPolicyT,CharT>,void>'
I have attached a build.log and an example cpp file.
I switched to develop and got the same result. I am new to git so not sure I did it right.
git checkout develop git pull --recurse-submodules .\b2 --toolset=msvc-12.0
Attachments (3)
Change History (9)
by , 9 years ago
by , 9 years ago
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I can reproduce this as well with gcc 4.8.1. Currently I'm not sure what the best course of action is with this problem. I'll contact with John in #7730.
comment:3 by , 9 years ago
I've committed a fix in develop: https://github.com/boostorg/log/commit/409dffcd1b96b0818831c2369c96ded523be0f0b.
this was broken on February 6th in phoenix fixing issue 7730.
It can be fixed in boost\log\detail\custom_terminal_spec.hpp
by adding the following line before including boost\phoenix\core\terminal.hpp
#define BOOST_PHOENIX_NO_SPECIALIZE_CUSTOM_TERMINAL