Boost C++ Libraries: Ticket #3133: std::va_list namespace problem https://svn.boost.org/trac10/ticket/3133 <p> On QNX Neutrino 6.3.2 boost.serialization fails to compile because va_list is not in std namespace. Problem occurs in the following files: boost/boost/serialization/extended_type_info_typeid.hpp boost/boost/serialization/factory.hpp boost/boost/serialization/extended_type_info_no_rtti.hpp </p> <p> One way to fix this is to include stdarg.h instead of cstdarg and use va_list instead of std::va_list </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3133 Trac 1.4.3 anonymous Mon, 19 Oct 2009 07:35:31 GMT version, milestone changed https://svn.boost.org/trac10/ticket/3133#comment:1 https://svn.boost.org/trac10/ticket/3133#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.39.0</span> → <span class="trac-field-new">Boost 1.40.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.41.0</span> </li> </ul> Ticket anonymous Mon, 19 Oct 2009 16:04:57 GMT <link>https://svn.boost.org/trac10/ticket/3133#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3133#comment:2</guid> <description> <p> a) what does "fails to compile" mean? Does the file cstdarg not exist? b) Hopefully I would prefer to find a "cleaner" way to do this that wouldn't require a a lot of changes - perhaps hoisting va_list to the std namespace - which is what I believe that the cstdarg file does. c) perhaps you might like to provide a suggested patch to the required files. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 19 Oct 2009 17:39:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3133#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3133#comment:3</guid> <description> <p> a) I mean compilation errors, cstdarg does exist, but va_list is not in std namespace b) c) If using stdarg.h instead of cstdarg is not 'clean' solution, then patch will be useless. It's QNX-specific bug. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 09 Mar 2010 13:14:40 GMT</pubDate> <title>version, milestone changed https://svn.boost.org/trac10/ticket/3133#comment:4 https://svn.boost.org/trac10/ticket/3133#comment:4 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.43.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.41.0</span> → <span class="trac-field-new">Boost 1.43.0</span> </li> </ul> Ticket anonymous Thu, 11 Mar 2010 08:35:04 GMT attachment set https://svn.boost.org/trac10/ticket/3133 https://svn.boost.org/trac10/ticket/3133 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_1_42_0_qnx-6.3.2.patch</span> </li> </ul> <p> Here is qnx specific workaround on va_list </p> Ticket Christian Leutloff <christian.leutloff@…> Tue, 23 Mar 2010 17:59:11 GMT cc, version, milestone changed https://svn.boost.org/trac10/ticket/3133#comment:5 https://svn.boost.org/trac10/ticket/3133#comment:5 <ul> <li><strong>cc</strong> <span class="trac-author">gcc</span> <span class="trac-author">3.3.5</span> <span class="trac-author">on</span> <span class="trac-author">qnx</span> <span class="trac-author">6.3.2</span> <span class="trac-author">christian.leutloff@…</span> added; <span class="trac-author">gcc 3.3.5 on qnx 6.3.2</span> removed </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> An alternative fix could be to reuse the similar change for <span class="underline">LIBCOMO</span> in factory.hpp to add the std:: namespace to the existing va_list implementation. </p> <p> I have successfully build boost 1.42 with gcc 4.3.3 (qcc toolset) on QNX 6.4.1. </p> <p> I will attach the one line patch, too. </p> Ticket Christian Leutloff <christian.leutloff@…> Tue, 23 Mar 2010 18:01:19 GMT attachment set https://svn.boost.org/trac10/ticket/3133 https://svn.boost.org/trac10/ticket/3133 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">std_va_list_qnx642.patch</span> </li> </ul> <p> Alternative patch, single change only </p> Ticket Robert Ramey Tue, 30 Mar 2010 00:32:20 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3133#comment:6 https://svn.boost.org/trac10/ticket/3133#comment:6 <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> All right, now you're talking ! </p> <p> I'm puting this in, it will show up next release. </p> <p> Robert Ramey </p> Ticket