Boost C++ Libraries: Ticket #12103: Fix for gcc bug 58952 https://svn.boost.org/trac10/ticket/12103 <p> getchar() is defined as a macro in uClibc. This hits gcc bug 58952 <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a> for all gcc versions &lt;= 4.8.2 and building boost/test fails: </p> <pre class="wiki">./boost/test/impl/unit_test_main.ipp: In function 'int boost::unit_test::unit_test_main(boost::unit_test::init_unit_test_func, int, char**)': ./boost/test/impl/unit_test_main.ipp:194:18: error: expected unqualified-id before '(' token To allow building boost/test with uClibc based toolchains with gcc &lt;= 4.8.2 use parenthesis for std::getchar. </pre><p> To allow building boost/test with uClibc based toolchains with gcc &lt;= 4.8.2 use parenthesis for std::getchar: </p> <pre class="wiki">(std::getchar)(); </pre><p> PR: <a class="ext-link" href="https://github.com/boostorg/test/pull/97"><span class="icon">​</span>https://github.com/boostorg/test/pull/97</a> </p> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a> <a class="ext-link" href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58952"><span class="icon">​</span>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58952</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12103 Trac 1.4.3 Raffi Enficiaud Thu, 31 Mar 2016 23:14:56 GMT owner, milestone changed https://svn.boost.org/trac10/ticket/12103#comment:1 https://svn.boost.org/trac10/ticket/12103#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.62.0</span> </li> </ul> Ticket Raffi Enficiaud Mon, 23 May 2016 22:26:49 GMT status changed https://svn.boost.org/trac10/ticket/12103#comment:2 https://svn.boost.org/trac10/ticket/12103#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Raffi Enficiaud Fri, 27 May 2016 08:37:27 GMT <link>https://svn.boost.org/trac10/ticket/12103#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12103#comment:3</guid> <description> <p> On next-internal for testing </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Tue, 12 Jul 2016 18:57:08 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12103#comment:4 https://svn.boost.org/trac10/ticket/12103#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Merged to master a38161dd316028d64f9dbf36168095470680a747 </p> Ticket