Boost C++ Libraries: Ticket #5277: QNX 6.5.0 compilation https://svn.boost.org/trac10/ticket/5277 <p> Hi, </p> <p> I am compiling boost on QNX 6.5.0 and there are some changes necessary to the source in order to successfully complete the build. </p> <p> Regarding ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3133" title="#3133: Bugs: std::va_list namespace problem (closed: fixed)">#3133</a> <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/3133"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/3133</a> it seems that va_list is now in std namespace so this workaround actually causes an error. </p> <p> In order to fix this on my machine I commented out the test for <span class="underline">QNXNTO</span> in boost/serialization/factory.hpp as follows </p> <pre class="wiki">namespace std{ #if defined(__LIBCOMO__) //|| defined(__QNXNTO__) using ::va_list; #endif } // namespace std </pre><p> In addition there is an issue with the rename function included from cstdio. By adding &lt;stdio.h&gt; to the includes in libs/filesystem/v3/src/operations.cpp I was able to get it to work. e.g., </p> <pre class="wiki">#include &lt;cstdio&gt; // for remove, rename #include &lt;cerrno&gt; #include &lt;cassert&gt; // #include &lt;iostream&gt; // for debugging only; comment out when not in use #if defined(__QNXNTO__) #include &lt;stdio.h&gt; #endif </pre><p> finally, I added std::va_list to boost/test/impl/execution_monitor.ipp </p> <pre class="wiki">#if defined(__QNXNTO__) # include &lt;stdio.h&gt; using std::va_list; #endif </pre><p> These changes allow the build to complete successfully, however I don't know if this means the library has been built problem, and I'm sure there is a better way to integrate these changes. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5277 Trac 1.4.3 anonymous Mon, 07 Mar 2011 21:15:22 GMT attachment set https://svn.boost.org/trac10/ticket/5277 https://svn.boost.org/trac10/ticket/5277 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">execution_monitor.ipp</span> </li> </ul> Ticket anonymous Mon, 07 Mar 2011 21:18:25 GMT attachment set https://svn.boost.org/trac10/ticket/5277 https://svn.boost.org/trac10/ticket/5277 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">factory.hpp</span> </li> </ul> Ticket anonymous Mon, 07 Mar 2011 21:18:53 GMT attachment set https://svn.boost.org/trac10/ticket/5277 https://svn.boost.org/trac10/ticket/5277 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">operations.cpp</span> </li> </ul> Ticket Steven Watanabe Sun, 13 Mar 2011 22:23:35 GMT <link>https://svn.boost.org/trac10/ticket/5277#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5277#comment:1</guid> <description> <p> This ticket is unlikely to be addressed because no one is responsible for it. It's generally better to split things up by library. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 14 Mar 2011 00:55:00 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5277#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5277#comment:2</guid> <description> <p> Hi, Thanks for the reply. I'm not too sure what that you mean. I consider this to be a solution that the boost developers, or anyone else who is trying to compile on QNX 6.5.0 would be interested in. I'm not really reporting a problem since I have the library working on my system. Please feel free to disregard. </p> </description> <category>Ticket</category> </item> </channel> </rss>