Opened 10 years ago
Closed 10 years ago
#7213 closed Bugs (fixed)
Build issue for QNX OS 6.5 SDK
Reported by: | 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)
Change History (2)
by , 10 years ago
Attachment: | execution_monitor.ipp added |
---|
comment:1 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Suggested modified source file