Re: [Boost-bugs] [Boost C++ Libraries] #7539: including spirit multi_pass and info header files caused compile error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7539: including spirit multi_pass and info header files caused compile error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-01 21:36:33


#7539: including spirit multi_pass and info header files caused compile error
-------------------------------+---------------------------------------
  Reporter: zhuo.qiang@… | Owner: djowel
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: spirit
   Version: Boost 1.52.0 | Severity: Showstopper
Resolution: | Keywords: spirit, c++11, multi_pass
-------------------------------+---------------------------------------

Comment (by Fedor Sergeev <Fedor.Sergeev@…>):

 At least for Studio C++ it looks like a bug in compiler when handling {{{
 alignment_of<recursive_wrapper<incomplete_type>> }}} where implementation
 of alignment_of goes through the alignment_of_hack path.

 Workaround found: {{{ -DBOOST_ALIGNMENT_OF=__alignof }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7539#comment:2>
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