Opened 10 years ago

Closed 10 years ago

#7213 closed Bugs (fixed)

Build issue for QNX OS 6.5 SDK

Reported by: steve.lemay@… Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.51.0 Severity: Problem
Keywords: QNXNTO std::va_list valist Cc:

Description

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

Attachments (1)

execution_monitor.ipp (49.2 KB ) - added by steve.lemay@… 10 years ago.
Suggested modified source file

Download all attachments as: .zip

Change History (2)

by steve.lemay@…, 10 years ago

Attachment: execution_monitor.ipp added

Suggested modified source file

comment:1 by Robert Ramey, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.