Boost C++ Libraries: Ticket #11086: Unqualified calls to strcmp in libs/log/test/run/util_string_literal.cpp https://svn.boost.org/trac10/ticket/11086 <p> Compiling util_string_literal.cpp with Oracle Solaris 12.4 on Solaris, we see the following error: "../libs/log/test/run/util_string_literal.cpp", line 43: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 57: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 73: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 81: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 90: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 98: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 211: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 214: Error: The function "strcmp" must have a prototype. "../libs/log/test/run/util_string_literal.cpp", line 217: Error: The function "strcmp" must have a prototype. 9 Error(s) detected. </p> <p> The calls to strcmp need to be qualified with std:: </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11086 Trac 1.4.3 Andrey Semashev Sat, 07 Mar 2015 09:57:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11086#comment:1 https://svn.boost.org/trac10/ticket/11086#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">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/log/commit/7b201bebfa43fa1b5577870dc37371a07a96baad"><span class="icon">​</span>https://github.com/boostorg/log/commit/7b201bebfa43fa1b5577870dc37371a07a96baad</a>. Thanks. </p> Ticket