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: Joseph Southwell <joseph@…> 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)

build.cpp (368 bytes ) - added by Joseph Southwell <joseph@…> 9 years ago.
build.log (11.8 KB ) - added by Joseph Southwell <joseph@…> 9 years ago.
gcc_log.txt (17.5 KB ) - added by Andrey Semashev 9 years ago.
GCC compilation failure.

Download all attachments as: .zip

Change History (9)

by Joseph Southwell <joseph@…>, 9 years ago

Attachment: build.cpp added

by Joseph Southwell <joseph@…>, 9 years ago

Attachment: build.log added

comment:1 by Joseph Southwell <joseph@…>, 9 years ago

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

comment:2 by Andrey Semashev, 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.

by Andrey Semashev, 9 years ago

Attachment: gcc_log.txt added

GCC compilation failure.

comment:4 by John Fletcher <J.P.Fletcher@…>, 9 years ago

Hi. Is this now fixed in Log?

comment:5 by Andrey Semashev, 9 years ago

It is fixed in develop, yes.

comment:6 by Andrey Semashev, 9 years ago

Resolution: fixed
Status: newclosed

Merged to master.

Note: See TracTickets for help on using tickets.