Re: [Boost-bugs] [Boost C++ Libraries] #11211: Fusion example no longer compiles (BOOST_FUSION_DEFINE_STRUCT)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11211: Fusion example no longer compiles (BOOST_FUSION_DEFINE_STRUCT)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-04 14:48:24


#11211: Fusion example no longer compiles (BOOST_FUSION_DEFINE_STRUCT)
-------------------------------------------------+-------------------------
  Reporter: Adrián Etchevarne | Owner: djowel
  <adrian.etchevarne@…> | Status: new
      Type: Bugs | Component: fusion
 Milestone: Boost 1.59.0 | Severity: Regression
   Version: Boost 1.58.0 | Keywords: fusion
Resolution: |
-------------------------------------------------+-------------------------

Comment (by Kohei Takahashi <flast@…>):

 Replying to [comment:9 Dennis Brentjes <d.brentjes@…>]:
> Here is another minimal test case that fails to compile (in c++11) but
 now using BOOST_FUSION_ADAPT_STRUCT. I suspect that it is the same issue.
>
> {{{
> #include <boost/fusion/adapted/struct.hpp>
>
> struct X {};
>
> BOOST_FUSION_ADAPT_STRUCT(
> X,
> )
>
> int main() {
> return 0;
> }
> }}}

 No, it's not a same issue; you can test with `-DBOOST_NO_CXX11_CONSTEXPR`
 flag to disabling `BOOST_CONSTEXPR` feature.

 In original test case, work with `-DBOOST_NO_CXX11_CONSTEXPR` due to
 avoiding regression: http://melpon.org/wandbox/permlink/APJ0Vi289gSKA7MO .
 However, your case dosn't work even defining `-DBOOST_NO_CXX11_CONSTEXPR`:
 http://melpon.org/wandbox/permlink/ktex1HEt5w4bplsv .

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11211#comment:10>
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:18 UTC