[Boost-bugs] [Boost C++ Libraries] #7213: Build issue for QNX OS 6.5 SDK

Subject: [Boost-bugs] [Boost C++ Libraries] #7213: Build issue for QNX OS 6.5 SDK
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-08 22:30:25


#7213: Build issue for QNX OS 6.5 SDK
----------------------------------------+-----------------------------------
 Reporter: steve.lemay@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: QNXNTO std::va_list valist |
----------------------------------------+-----------------------------------
 It appears a small work around introduced to address a compilation problem
 related to the definition of std::va_list for Boost 1.42 and QNX OS 6.4
 SDK is now causing the reverse problem for Boost 1.51 and the QNX 6.5 SDK.
 See original closed bug report:
 https://svn.boost.org/trac/boost/ticket/3133

 The fix appears to be trivial, and if valid would be very nice to have in
 Boost 1.51.0. I was able to successful compile the libraries without
 error by changing:

 In factory.hpp line #26 remove preprocessor defined (__QNX_NTO__)

 namespace fac{
     #if defined(__LIBCOMO__)
         using ::va_list;
     #endif
 }


 In execution_monitor.ipp line 56 add 'OR' defined (__QNXNTO__)

 // to use vsnprintf
 #if defined(__SUNPRO_CC) 'OR' defined(__SunOS) 'OR' defined (__QNXNTO__)
 # include <stdio.h>
 # include <stdarg.h>
 using std::va_list;
 #endif

 execution_monitor.ipp REMOVE line 54 through 60
 #if defined(__QNXNTO__)
 # include <stdio.h>
 #endif

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7213>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC