Boost C++ Libraries: Ticket #5296: include missed in boost/spirit/home/classic/actor/ref_value_actor.hpp https://svn.boost.org/trac10/ticket/5296 <p> boost/spirit/home/classic/actor/ref_value_actor.hpp uses BOOST_WORKAROUND but doesn't include boost/detail/workaround.hpp. This can lead to compilation errors if it's users do not include that file themselves. For example, on linux with gcc 4.5.1, when I compile simple test </p> <p> #include &lt;boost/spirit/home/classic/actor/ref_value_actor.hpp&gt; int main() { return 0; } </p> <p> I get the following error: $ g++ test.cpp In file included from test.cpp:2:0: /usr/include/boost/spirit/home/classic/actor/ref_value_actor.hpp:17:21: error: missing binary operator before token "(" /usr/include/boost/spirit/home/classic/actor/ref_value_actor.hpp:73:21: error: missing binary operator before token "(" </p> <p> The same happens when I change my test to include e.g. boost/spirit/include/classic_actor.hpp </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5296 Trac 1.4.3 anonymous Sat, 12 Mar 2011 21:15:12 GMT version, component changed; owner set https://svn.boost.org/trac10/ticket/5296#comment:1 https://svn.boost.org/trac10/ticket/5296#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.45.0</span> → <span class="trac-field-new">Boost 1.46.0</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">spirit</span> </li> </ul> Ticket Bryce Adelstein Lelbach Sun, 22 May 2011 07:49:13 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5296#comment:2 https://svn.boost.org/trac10/ticket/5296#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in 72069, note that Boost.Classic is deprecated. </p> Ticket