Boost C++ Libraries: Ticket #9155: libs/log/src/default_sink.cpp: The function "fflush" must have a prototype (solaris studio 12.3) https://svn.boost.org/trac10/ticket/9155 <p> In Solaris Studio 12.3, when building with stlport4, <code></code><code>fflush</code><code></code> ends up in the <code></code><code>std::</code><code></code> namespace when using <code></code><code>#include &lt;cstdio&gt;</code><code></code>; however, if the code uses <code></code><code>#include &lt;stdio.h&gt;</code><code></code> it ends up in <code></code><code>std</code><code></code> with a global <code></code><code>using std::fflush;</code><code></code> directive. </p> <p> The offending error occurs on or around <code></code><code>libs/log/src/default_sink.cpp:197</code><code></code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9155 Trac 1.4.3 Brian Vandenberg <phantall+boost@…> Tue, 24 Sep 2013 16:01:00 GMT cc set https://svn.boost.org/trac10/ticket/9155#comment:1 https://svn.boost.org/trac10/ticket/9155#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">phantall+boost@…</span> added </li> </ul> Ticket viboes Thu, 26 Sep 2013 18:10:11 GMT component changed; owner set https://svn.boost.org/trac10/ticket/9155#comment:2 https://svn.boost.org/trac10/ticket/9155#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Andrey Semashev</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">log</span> </li> </ul> Ticket Andrey Semashev Thu, 26 Sep 2013 18:31:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9155#comment:3 https://svn.boost.org/trac10/ticket/9155#comment:3 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85965" title="Fixed #9155.">[85965]</a>) Fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9155" title="#9155: Bugs: libs/log/src/default_sink.cpp: The function &#34;fflush&#34; must have a ... (closed: fixed)">#9155</a>. </p> Ticket