diff -ruEb boost_1_38_0.original/boost/archive/iterators/base64_from_binary.hpp boost_1_38_0/boost/archive/iterators/base64_from_binary.hpp --- boost_1_38_0.original/boost/archive/iterators/base64_from_binary.hpp 2009-01-17 06:11:57.000000000 +0900 +++ boost_1_38_0/boost/archive/iterators/base64_from_binary.hpp 2009-08-24 22:21:49.000000000 +0900 @@ -26,6 +26,10 @@ } // namespace std #endif +#ifdef __QNX__ +using std::size_t; +#endif + #include #include diff -ruEb boost_1_38_0.original/boost/config/requires_threads.hpp boost_1_38_0/boost/config/requires_threads.hpp --- boost_1_38_0.original/boost/config/requires_threads.hpp 2003-12-20 20:54:47.000000000 +0900 +++ boost_1_38_0/boost/config/requires_threads.hpp 2009-08-24 22:21:50.000000000 +0900 @@ -42,7 +42,7 @@ # error "Compiler threading support is not turned on. Please set the correct command line options for threading: -openmp" #endif -# elif defined __GNUC__ +# elif defined(__GNUC__) && !defined(__QNX__) // GNU C++: # error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)" @@ -83,7 +83,9 @@ #else +#ifndef __QNX__ # error "Compiler threading support is not turned on. Please consult your compiler's documentation for the appropriate options to use" +#endif #endif // compilers diff -ruEb boost_1_38_0.original/boost/iostreams/char_traits.hpp boost_1_38_0/boost/iostreams/char_traits.hpp --- boost_1_38_0.original/boost/iostreams/char_traits.hpp 2008-03-23 06:45:55.000000000 +0900 +++ boost_1_38_0/boost/iostreams/char_traits.hpp 2009-08-24 22:22:00.000000000 +0900 @@ -35,6 +35,10 @@ #if (defined(__QNX__) && defined(BOOST_DINKUMWARE_STDLIB)) \ || defined(__SUNPRO_CC) using ::std::wint_t; +#else +#ifdef __QNX__ +using std::wint_t; +#endif #endif const int WOULD_BLOCK = (int) (EOF - 1); diff -ruEb boost_1_38_0.original/boost/serialization/factory.hpp boost_1_38_0/boost/serialization/factory.hpp --- boost_1_38_0.original/boost/serialization/factory.hpp 2008-07-17 05:34:30.000000000 +0900 +++ boost_1_38_0/boost/serialization/factory.hpp 2009-08-24 22:22:17.000000000 +0900 @@ -24,7 +24,7 @@ #include namespace std{ - #if defined(__LIBCOMO__) + #if defined(__LIBCOMO__) || defined(__QNXNTO__) using ::va_list; #endif } // namespace std diff -ruEb boost_1_38_0.original/libs/regex/src/fileiter.cpp boost_1_38_0/libs/regex/src/fileiter.cpp --- boost_1_38_0.original/libs/regex/src/fileiter.cpp 2007-11-26 03:38:02.000000000 +0900 +++ boost_1_38_0/libs/regex/src/fileiter.cpp 2009-08-24 22:24:49.000000000 +0900 @@ -380,7 +380,8 @@ #endif } -inline void copy_find_file_result_with_overflow_check(const _fi_find_data& data, char* path, size_t max_size) +//inline void copy_find_file_result_with_overflow_check(const _fi_find_data& data, char* path, size_t max_size) +inline void copy_find_file_result_with_overflow_check(const _fi_find_data& data, char* path, std::size_t max_size) { #ifdef BOOST_NO_ANSI_APIS if (::WideCharToMultiByte(CP_ACP, 0, data.cFileName, -1, path, max_size, NULL, NULL) == 0) diff -ruEb boost_1_38_0.original/libs/thread/src/pthread/thread.cpp boost_1_38_0/libs/thread/src/pthread/thread.cpp --- boost_1_38_0.original/libs/thread/src/pthread/thread.cpp 2009-01-09 20:06:53.000000000 +0900 +++ boost_1_38_0/libs/thread/src/pthread/thread.cpp 2009-08-24 22:24:57.000000000 +0900 @@ -351,7 +351,7 @@ timespec ts; to_timespec_duration(xt, ts); BOOST_VERIFY(!pthread_delay_np(&ts)); -# elif defined(BOOST_HAS_NANOSLEEP) +# elif defined(BOOST_HAS_NANOSLEEP) && !defined(__QNX__) timespec ts; to_timespec_duration(xt, ts); diff -ruEb boost_1_38_0.original/status/Jamfile.v2 boost_1_38_0/status/Jamfile.v2 --- boost_1_38_0.original/status/Jamfile.v2 2009-01-22 05:36:00.000000000 +0900 +++ boost_1_38_0/status/Jamfile.v2 2009-08-24 22:25:01.000000000 +0900 @@ -14,8 +14,9 @@ project status : source-location $(BOOST_ROOT) - : requirements true + : requirements false ; +# : requirements true import testing ; import modules ; diff -ruEb boost_1_38_0.original/tools/build/v2/tools/qcc.jam boost_1_38_0/tools/build/v2/tools/qcc.jam --- boost_1_38_0.original/tools/build/v2/tools/qcc.jam 2009-01-14 23:31:12.000000000 +0900 +++ boost_1_38_0/tools/build/v2/tools/qcc.jam 2009-08-24 22:25:02.000000000 +0900 @@ -168,7 +168,7 @@ # First, the common flags. toolset.flags qcc.link OPTIONS on : -gstabs+ ; toolset.flags qcc.link OPTIONS on : -p ; -toolset.flags qcc.link OPTIONS ; +toolset.flags qcc.link OPTIONS -Wl,-rpath,/usr/pkg/lib ; toolset.flags qcc.link LINKPATH ; toolset.flags qcc.link FINDLIBS-ST ; toolset.flags qcc.link FINDLIBS-SA ;