boostorg / proto

Boost.org proto module
http://boost.org/libs/proto
21 stars 38 forks source link

MSVC: error C2039: 'value': is not a member of 'boost::proto' #20

Closed zhongwm closed 4 years ago

zhongwm commented 4 years ago

https://github.com/boostorg/proto/issues/18 I am having the same issue in VC2019 community newest version.

tobias-loew commented 4 years ago

I've got the same error in boost/proto/generate.hpp(239) The bug seems to be fixed in the "develop" branch, where line 233 is replaced by #if BOOST_WORKAROUND(BOOST_MSVC, < 1800)

Please merge it over to master and put it release 1.72

MarcelRaad commented 4 years ago

There's even an open PR for that: https://github.com/boostorg/proto/pull/19

tobias-loew commented 4 years ago

I wrote a mail to the boost-developer list: http://boost.2283326.n4.nabble.com/release-proto-MSVC-19-24-28314-VS-2019-16-4-0-won-t-compile-proto-s-generate-hpp-td4710720.html

ericniebler commented 4 years ago

The fix has been merged to master. Fingers crossed, all should be well again. Pls reopen if that's not the case.

kanstantsin-chernik commented 4 years ago

Any workarounds for current release?