Boost C++ Libraries: Ticket #5809: BOOST_TYPEOF_SILENT causes failure https://svn.boost.org/trac10/ticket/5809 <div class="wiki-code"><div class="code"><pre><span class="cp">#pragma once</span> <span class="cp">#define BOOST_TYPEOF_SILENT </span><span class="c1">// everything is fine without this</span> <span class="cp">#include</span> <span class="cpf">&lt;boost/signal.hpp&gt;</span><span class="cp"></span> <span class="kt">int</span> <span class="nf">main</span><span class="p">()</span> <span class="p">{</span> <span class="k">return</span> <span class="mi">0</span><span class="p">;</span> <span class="p">}</span> </pre></div></div><p> under msvc90 - 64bit results in, </p> <pre class="wiki">1&gt;------ Build started: Project: test, Configuration: Release x64 ------ 1&gt;Compiling... 1&gt;main.cpp 1&gt;.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error C2061: syntax error : identifier 'declval_b' 1&gt; .\boost-1_47\include\boost/type_traits/common_type.hpp(128) : see reference to class template instantiation 'boost::type_traits_detail::common_type_2&lt;T,U&gt;' being compiled 1&gt;.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error C2059: syntax error : ')' 1&gt;.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error C2146: syntax error : missing ')' before identifier 'type' 1&gt;.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error C3646: 'type' : unknown override specifier 1&gt;.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1&gt;.\boost-1_47\include\boost/signals/trackable.hpp(163) : warning C4512: 'boost::signals::detail::bound_objects_visitor' : assignment operator could not be generated 1&gt; .\boost-1_47\include\boost/signals/trackable.hpp(66) : see declaration of 'boost::signals::detail::bound_objects_visitor' 1&gt;test - 5 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== </pre><p> }}} </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5809 Trac 1.4.3 johannes@… Sun, 18 Mar 2012 20:34:24 GMT <link>https://svn.boost.org/trac10/ticket/5809#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5809#comment:1</guid> <description> <p> got the same problem </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Tue, 18 Jun 2013 16:54:37 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5809#comment:2 https://svn.boost.org/trac10/ticket/5809#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">wontfix</span> </li> </ul> <p> Boost.Signals is being deprecated. Please transition to Boost.Signals2 </p> Ticket johannes@… Tue, 18 Jun 2013 17:03:58 GMT <link>https://svn.boost.org/trac10/ticket/5809#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5809#comment:3</guid> <description> <p> The problem is with typeof, not signals. I dont know whether that still occurs though. Defining BOOST_TYPEOF_SILENT was a leftover from earlier boost versions which would be quite verbose wrt to typeof details. Might as well be irrelevant now. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Wed, 19 Jun 2013 17:39:36 GMT</pubDate> <title>resolution changed https://svn.boost.org/trac10/ticket/5809#comment:4 https://svn.boost.org/trac10/ticket/5809#comment:4 <ul> <li><strong>resolution</strong> <span class="trac-field-old">wontfix</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84837" title="Change pp-code to fix #5809. Fixes #5809.">[84837]</a>) Change pp-code to fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5809" title="#5809: Bugs: BOOST_TYPEOF_SILENT causes failure (closed: fixed)">#5809</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5809" title="#5809: Bugs: BOOST_TYPEOF_SILENT causes failure (closed: fixed)">#5809</a>. </p> Ticket