﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
71	Boost build problems	abwillis		"Build errors in Boost:Log
In file included from libs\log\src/text_file_backend.cpp:44:0:
./boost/filesystem/convenience.hpp:19:5: error: #error Configuration not support
ed: Boost.Filesystem V3 and later requires std::wstring support
 #   error Configuration not supported: Boost.Filesystem V3 and later requires s
td::wstring support

...failed gcc.compile.c++ bin.v2\libs\log\build\gcc-4.9.2\release\build-no\link-
static\threading-multi/text_multifile_backend.o...
gcc.compile.c++ bin.v2\libs\log\build\gcc-4.9.2\release\build-no\link-static\thr
eading-multi/timestamp.o
libs\log\src/timestamp.cpp:312:5: error: #error Boost.Log: Timestamp generation
is not supported for your platform
 #   error Boost.Log: Timestamp generation is not supported for your platform
     ^

Probably should add
to the os2.hpp
Plus these diffs were needed:

{{{
Index: boost/config/platform/os2.hpp
===================================================================
--- boost/config/platform/os2.hpp	(revision 1154)
+++ boost/config/platform/os2.hpp	(working copy)
@@ -24,6 +24,10 @@
 
 #define BOOST_NO_CTYPE_FUNCTIONS
 
+#undef BOOST_LOG_USE_WCHAR_T
+
+#define BOOST_LOG_WITHOUT_WCHAR_T
+
 //
 // thread API's not auto detected:
 //
Index: boost/filesystem/convenience.hpp
===================================================================
--- boost/filesystem/convenience.hpp	(revision 1154)
+++ boost/filesystem/convenience.hpp	(working copy)
@@ -15,7 +15,7 @@
 
 #include <boost/config.hpp>
 
-# if defined( BOOST_NO_STD_WSTRING )
+# if defined( BOOST_NO_STD_WSTRING ) && !defined(__OS2__)
 #   error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
 # endif
 
Index: boost/filesystem/fstream.hpp
===================================================================
--- boost/filesystem/fstream.hpp	(revision 1154)
+++ boost/filesystem/fstream.hpp	(working copy)
@@ -14,7 +14,7 @@
 
 #include <boost/config.hpp>
 
-# if defined( BOOST_NO_STD_WSTRING )
+# if defined( BOOST_NO_STD_WSTRING ) && !defined(__OS2__)
 #   error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support
 # endif
 
Index: libs/log/src/timestamp.cpp
===================================================================
--- libs/log/src/timestamp.cpp	(revision 1154)
+++ libs/log/src/timestamp.cpp	(working copy)
@@ -202,7 +202,7 @@
 
 #endif // _WIN32_WINNT >= 0x0600
 
-#elif defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0
+#elif defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0 || defined(__OS2__)
 
 BOOST_LOG_API int64_t duration::milliseconds() const
 {

}}}
"	defect	closed	major		*none		low	fixed		
