Boost C++ Libraries: Ticket #10040: Incompatibility headers spirit::qi and log https://svn.boost.org/trac10/ticket/10040 <p> Hi, </p> <p> I'm using msvc 12.0 with boost built in amd 64 mode. I get an error when the headers : </p> <div class="wiki-code"><div class="code"><pre><span class="cp">#include</span> <span class="cpf">&lt;boost/spirit/include/qi.hpp&gt;</span><span class="cp"></span> <span class="cp">#include</span> <span class="cpf">&lt;boost/spirit/include/qi_numeric.hpp&gt;</span><span class="cp"></span> </pre></div></div><p> are present with these headers : </p> <div class="wiki-code"><div class="code"><pre><span class="cp">#include</span> <span class="cpf">&lt;boost/log/core.hpp&gt;</span><span class="cp"></span> <span class="cp">#include</span> <span class="cpf">&lt;boost/log/expressions.hpp&gt;</span><span class="cp"></span> </pre></div></div><p> Well, I wrote my little configuration parser using spirit::qi, and it was fine. It worked nicely and converted my strings into integers when needed. But today I wanted to add a log system to my code, and wanted to use boost::log. I followed the tutorial, and only some headers worked on their own : </p> <div class="wiki-code"><div class="code"><pre><span class="cp">#include</span> <span class="cpf">&lt;boost/log/sources/severity_logger.hpp&gt;</span><span class="cp"></span> <span class="cp">#include</span> <span class="cpf">&lt;boost/log/trivial.hpp&gt;</span><span class="cp"></span> </pre></div></div><p> The output of cl.exe : (sorry, it's in french) </p> <div class="wiki-code"><div class="code"><pre><span class="mi">1</span><span class="o">&gt;</span> <span class="n">main</span><span class="p">.</span><span class="n">cpp</span> <span class="mi">1</span><span class="o">&gt;</span><span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">phoenix</span><span class="o">/</span><span class="n">version</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">16</span><span class="p">)</span><span class="o">:</span> <span class="n">warning</span> <span class="nl">C4005</span><span class="p">:</span> <span class="err">&#39;</span><span class="n">BOOST_PHOENIX_VERSION</span><span class="err">&#39; </span><span class="o">:</span> <span class="n">red</span><span class="err">é</span><span class="n">finition</span> <span class="n">de</span> <span class="n">macro</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">spirit</span><span class="o">/</span><span class="n">home</span><span class="o">/</span><span class="n">phoenix</span><span class="o">/</span><span class="n">version</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">16</span><span class="p">)</span><span class="err"> </span><span class="o">:</span> <span class="n">voir</span> <span class="n">la</span> <span class="n">d</span><span class="err">é</span><span class="n">finition</span> <span class="n">pr</span><span class="err">é</span><span class="n">c</span><span class="err">é</span><span class="n">dente</span> <span class="n">de</span> <span class="err">&#39;</span><span class="n">BOOST_PHOENIX_VERSION</span><span class="err">&#39;</span> <span class="mi">1</span><span class="o">&gt;</span><span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">phoenix</span><span class="o">/</span><span class="n">core</span><span class="o">/</span><span class="n">limits</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">26</span><span class="p">)</span><span class="o">:</span> <span class="n">warning</span> <span class="nl">C4005</span><span class="p">:</span> <span class="err">&#39;</span><span class="n">PHOENIX_LIMIT</span><span class="err">&#39; </span><span class="o">:</span> <span class="n">red</span><span class="err">é</span><span class="n">finition</span> <span class="n">de</span> <span class="n">macro</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">spirit</span><span class="o">/</span><span class="n">home</span><span class="o">/</span><span class="n">phoenix</span><span class="o">/</span><span class="n">core</span><span class="o">/</span><span class="n">limits</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">13</span><span class="p">)</span><span class="err"> </span><span class="o">:</span> <span class="n">voir</span> <span class="n">la</span> <span class="n">d</span><span class="err">é</span><span class="n">finition</span> <span class="n">pr</span><span class="err">é</span><span class="n">c</span><span class="err">é</span><span class="n">dente</span> <span class="n">de</span> <span class="err">&#39;</span><span class="n">PHOENIX_LIMIT</span><span class="err">&#39;</span> <span class="mi">1</span><span class="o">&gt;</span><span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">phoenix</span><span class="o">/</span><span class="n">core</span><span class="o">/</span><span class="n">is_actor</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">28</span><span class="p">)</span><span class="o">:</span> <span class="n">error</span> <span class="nl">C2977</span><span class="p">:</span> <span class="err">&#39;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">is_actor</span><span class="err">&#39; </span><span class="o">:</span> <span class="n">nombre</span> <span class="n">d</span><span class="err">&#39;</span><span class="n">arguments</span> <span class="n">mod</span><span class="err">è</span><span class="n">le</span> <span class="n">trop</span> <span class="err">é</span><span class="n">lev</span><span class="err">é</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">spirit</span><span class="o">/</span><span class="n">home</span><span class="o">/</span><span class="n">phoenix</span><span class="o">/</span><span class="n">core</span><span class="o">/</span><span class="n">is_actor</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">23</span><span class="p">)</span><span class="err"> </span><span class="o">:</span> <span class="n">voir</span> <span class="n">la</span> <span class="n">d</span><span class="err">é</span><span class="n">claration</span> <span class="n">de</span> <span class="err">&#39;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">is_actor</span><span class="err">&#39;</span> <span class="mi">1</span><span class="o">&gt;</span><span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">phoenix</span><span class="o">/</span><span class="n">core</span><span class="o">/</span><span class="n">is_actor</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">28</span><span class="p">)</span><span class="o">:</span> <span class="n">fatal</span> <span class="n">error</span> <span class="nl">C1903</span><span class="p">:</span> <span class="n">impossible</span> <span class="n">de</span> <span class="n">r</span><span class="err">é</span><span class="n">cup</span><span class="err">é</span><span class="n">rer</span> <span class="err">à</span> <span class="n">partir</span> <span class="n">des</span> <span class="n">erreurs</span> <span class="n">pr</span><span class="err">é</span><span class="n">c</span><span class="err">é</span><span class="n">dentes</span><span class="err"> </span><span class="p">;</span> <span class="n">arr</span><span class="err">ê</span><span class="n">t</span> <span class="n">de</span> <span class="n">la</span> <span class="n">compilation</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="n">log</span><span class="p">.</span><span class="n">cpp</span> <span class="mi">1</span><span class="o">&gt;</span><span class="nl">D</span><span class="p">:</span><span class="err">\</span><span class="n">Code</span><span class="err">\</span><span class="n">lib</span><span class="err">\</span><span class="n">boost_1_55_0</span><span class="err">\</span><span class="n">boost</span><span class="o">/</span><span class="n">proto</span><span class="o">/</span><span class="n">operators</span><span class="p">.</span><span class="n">hpp</span><span class="p">(</span><span class="mi">295</span><span class="p">)</span><span class="o">:</span> <span class="n">warning</span> <span class="nl">C4180</span><span class="p">:</span> <span class="n">qualificateur</span> <span class="n">appliqu</span><span class="err">é</span> <span class="n">au</span> <span class="n">type</span> <span class="n">fonction</span> <span class="n">n</span><span class="err">&#39;</span><span class="n">a</span> <span class="n">pas</span> <span class="n">de</span> <span class="n">sens</span><span class="err"> </span><span class="p">;</span> <span class="n">ignor</span><span class="err">é</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="n">src</span><span class="err">\</span><span class="n">log</span><span class="p">.</span><span class="n">cpp</span><span class="p">(</span><span class="mi">114</span><span class="p">)</span><span class="err"> </span><span class="o">:</span> <span class="n">voir</span> <span class="n">la</span> <span class="n">r</span><span class="err">é</span><span class="n">f</span><span class="err">é</span><span class="n">rence</span> <span class="err">à</span> <span class="n">l</span><span class="err">&#39;</span><span class="n">instanciation</span> <span class="n">de</span> <span class="n">la</span> <span class="n">fonction</span> <span class="n">mod</span><span class="err">è</span><span class="n">le</span> <span class="err">&#39;</span><span class="k">const</span> <span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">Expr</span><span class="o">&gt;</span> <span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="k">operator</span> <span class="o">&lt;&lt;&lt;</span><span class="k">const</span> <span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">Tag</span><span class="p">,</span><span class="n">Args</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span><span class="o">&amp;</span><span class="p">(</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">)</span><span class="o">&gt;</span><span class="p">(</span><span class="n">Left</span> <span class="o">&amp;&amp;</span><span class="p">,</span><span class="n">Right</span> <span class="p">(</span><span class="kr">__cdecl</span> <span class="o">&amp;&amp;</span><span class="p">))</span><span class="err">&#39;</span> <span class="n">en</span> <span class="n">cours</span> <span class="n">de</span> <span class="n">compilation</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="n">with</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="p">[</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="n">Expr</span><span class="o">=</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">basic_expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">argument</span><span class="o">&lt;</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">(</span><span class="kr">__cdecl</span> <span class="o">*</span><span class="p">)(</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">)</span><span class="o">&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">_Smanip</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">streamsize</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">_Fillobj</span><span class="o">&lt;</span><span class="kt">char</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">log</span><span class="o">::</span><span class="n">v2s_mt_nt5</span><span class="o">::</span><span class="n">expressions</span><span class="o">::</span><span class="n">attribute_actor</span><span class="o">&lt;</span><span class="kt">unsigned</span> <span class="kt">int</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">log</span><span class="o">::</span><span class="n">v2s_mt_nt5</span><span class="o">::</span><span class="n">fallback_to_none</span><span class="p">,</span><span class="n">tag</span><span class="o">::</span><span class="n">line_id</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">(</span><span class="kr">__cdecl</span> <span class="o">&amp;</span><span class="p">)(</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">)</span><span class="o">&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="p">,</span> <span class="n">Tag</span><span class="o">=</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="p">,</span> <span class="n">Args</span><span class="o">=</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">basic_expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">argument</span><span class="o">&lt;</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">(</span><span class="kr">__cdecl</span> <span class="o">*</span><span class="p">)(</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">)</span><span class="o">&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">_Smanip</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">streamsize</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">_Fillobj</span><span class="o">&lt;</span><span class="kt">char</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">log</span><span class="o">::</span><span class="n">v2s_mt_nt5</span><span class="o">::</span><span class="n">expressions</span><span class="o">::</span><span class="n">attribute_actor</span><span class="o">&lt;</span><span class="kt">unsigned</span> <span class="kt">int</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">log</span><span class="o">::</span><span class="n">v2s_mt_nt5</span><span class="o">::</span><span class="n">fallback_to_none</span><span class="p">,</span><span class="n">tag</span><span class="o">::</span><span class="n">line_id</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&gt;&gt;</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="p">,</span> <span class="n">Left</span><span class="o">=</span><span class="k">const</span> <span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">shift_left</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">list2</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">basic_expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">argument</span><span class="o">&lt;</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">(</span><span class="kr">__cdecl</span> <span class="o">*</span><span class="p">)(</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">)</span><span class="o">&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">_Smanip</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">streamsize</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">exprns_</span><span class="o">::</span><span class="n">expr</span><span class="o">&lt;</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">tagns_</span><span class="o">::</span><span class="n">tag</span><span class="o">::</span><span class="n">terminal</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">proto</span><span class="o">::</span><span class="n">argsns_</span><span class="o">::</span><span class="n">term</span><span class="o">&lt;</span><span class="n">std</span><span class="o">::</span><span class="n">_Fillobj</span><span class="o">&lt;</span><span class="kt">char</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">0</span><span class="o">&gt;&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">log</span><span class="o">::</span><span class="n">v2s_mt_nt5</span><span class="o">::</span><span class="n">expressions</span><span class="o">::</span><span class="n">attribute_actor</span><span class="o">&lt;</span><span class="kt">unsigned</span> <span class="kt">int</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">log</span><span class="o">::</span><span class="n">v2s_mt_nt5</span><span class="o">::</span><span class="n">fallback_to_none</span><span class="p">,</span><span class="n">tag</span><span class="o">::</span><span class="n">line_id</span><span class="p">,</span><span class="n">boost</span><span class="o">::</span><span class="n">phoenix</span><span class="o">::</span><span class="n">actor</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="mi">2</span><span class="o">&gt;&gt;</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="p">,</span> <span class="n">Right</span><span class="o">=</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">(</span><span class="n">std</span><span class="o">::</span><span class="n">ios_base</span> <span class="o">&amp;</span><span class="p">)</span> <span class="mi">1</span><span class="o">&gt;</span> <span class="p">]</span> </pre></div></div><p> I tried to find out what was wrong with Phoenix.. I don't really know how it works behing the scene, but I read on the web Log is using Phoenix3 .. Maybe qi is not using the same version and something goes wrong when including both together ... Just making hypothesis ... Anyway this is, I think, a bug. </p> <p> I added my CL.read.1.log, which contains all the files retreived by msvc during the building process. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10040 Trac 1.4.3 wixdesq@… Sun, 11 May 2014 16:35:20 GMT attachment set https://svn.boost.org/trac10/ticket/10040 https://svn.boost.org/trac10/ticket/10040 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">CL.read.1.tlog.7z</span> </li> </ul> <p> Included file listing </p> Ticket Andrey Semashev Sun, 11 May 2014 17:08:37 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10040#comment:1 https://svn.boost.org/trac10/ticket/10040#comment:1 <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">wontfix</span> </li> </ul> <p> Yes, Boost.Log uses Boost.Phoenix v3. It is incompatible with Boost.Phoenix v2 (which resides in boost/spirit/home/phoenix and AFAIK is deprecated). You cannot include both Boost.Phoenix v3 and v2 in the same project, you'll have to choose one. There's nothing I can do about it in Boost.Log. </p> <p> Boost.Spirit is compatible with Boost.Phoenix v3, but you have to define BOOST_SPIRIT_USE_PHOENIX_V3=1 macro when compiling your code. If you use Boost.Phoenix v2 in your code then you might have to do some adjustments to make it compatible with v3 (and change includes, naturally). </p> Ticket Benjamin B. <wixdesq@…> Sun, 11 May 2014 17:15:55 GMT <link>https://svn.boost.org/trac10/ticket/10040#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10040#comment:2</guid> <description> <p> You're right. BOOST_SPIRIT_USE_PHOENIX_V3=1 did it for me. But why this (deprecated) api is still used ? Are they in the process of upgrading spirit's phoenix default version ? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sun, 11 May 2014 18:11:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10040#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10040#comment:3</guid> <description> <p> You'll have to ask Boost.Spirit developers about that. My guess is for backward compatibility. I wouldn't mind if v3 was the default. </p> </description> <category>Ticket</category> </item> </channel> </rss>