Boost C++ Libraries: Ticket #2175: error_code.cpp fails to compile on QNX https://svn.boost.org/trac10/ticket/2175 <p> This file doesn't compile on QNX. The compiler output is listed as follows: </p> <p> libs/system/src/error_code.cpp: In member function `virtual std::string </p> <blockquote> <p> &lt;unnamed&gt;::generic_error_category::message(int) const': </p> </blockquote> <p> libs/system/src/error_code.cpp:105: error: `strerror_r' undeclared (first use </p> <blockquote> <p> this function) </p> </blockquote> <p> libs/system/src/error_code.cpp:105: error: (Each undeclared identifier is </p> <blockquote> <p> reported only once for each function it appears in.) </p> </blockquote> <p> libs/system/src/error_code.cpp: In member function `virtual </p> <blockquote> <p> boost::system::error_condition &lt;unnamed&gt;::system_error_category::default_error_condition(int) const': </p> </blockquote> <p> libs/system/src/error_code.cpp:160: error: duplicate case value libs/system/src/error_code.cpp:157: error: previously used here </p> <p> I've added a patch which fixes these errors on my system. This is using the latest version in trunk. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2175 Trac 1.4.3 glyn.matthews@… Thu, 07 Aug 2008 09:44:06 GMT attachment set https://svn.boost.org/trac10/ticket/2175 https://svn.boost.org/trac10/ticket/2175 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">error_code.cpp.patch</span> </li> </ul> <p> Patch for libs/system/src/error_code.cpp </p> Ticket christian.leutloff@… Thu, 14 Aug 2008 11:03:55 GMT <link>https://svn.boost.org/trac10/ticket/2175#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2175#comment:1</guid> <description> <p> This problem applies to the released boost version 1.35.0, too. Required patch is the same. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Sun, 12 Oct 2008 14:08:12 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2175#comment:2 https://svn.boost.org/trac10/ticket/2175#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">fixed</span> </li> </ul> <p> Applied. </p> <p> Thanks, </p> <p> --Beman </p> Ticket