Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
qpid-cpp-0.34
-
None
-
Windows xp sp3, VC2008 no sp,boost 1.59.0
Description
1) qpid-cpp-0.34\src\qpid\sys\regex.h
qpid-cpp-0.34\src\qpid/sys/regex.h(27) : fatal error C1083: 无法打开包括文件:"regex": No such file or directory
from:
#if defined(POSIX_SOURCE) || defined(unix_)
- include <stdexcept>
- include <string>
- include <regex.h>
#elif defined(_MSC_VER) - include <regex>
#else
#error "No known regex implementation"
#endif
to:
#if defined(POSIX_SOURCE) || defined(unix_)
- include <stdexcept>
- include <string>
- include <regex.h>
#elif (_MSC_VER > 1500) - include <regex>
#elif (_MSC_VER <= 1500) - include <boost/tr1/regex.hpp>
#else
#error "No known regex implementation"
#endif
2)qpid-cpp-0.34\src\qpid\sys\unordered_map.h
qpid-cpp-0.34\src\qpid/sys/unordered_map.h(25) : fatal error C1083: 无法打开包括文件:"unordered_map": No such file or directory
from:
#if defined(_MSC_VER) || defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
- include <unordered_map>
#elif defined(_SUNPRO_CC) || defined(IBMCPP_) - include <boost/tr1/unordered_map.hpp>
#else - include <tr1/unordered_map>
#endif /* _MSC_VER */
to:
#if (_MSC_VER > 1500) || defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
- include <unordered_map>
#elif (MSC_VER <= 1500) || defined(SUNPRO_CC) || defined(IBMCPP_) - include <boost/tr1/unordered_map.hpp>
#else - include <tr1/unordered_map>
#endif /* _MSC_VER */
3)..\..\..\src\tests\exception_test.cpp(66) : error C3861: "BOOST_MESSAGE": 找不到标识符
from:
void run() {
try
catch(const Ex& e) {
caught=true;
BOOST_MESSAGE(string("Caught expected exception: ")e.what()"["+typeid(e).name()+"]");
to:
void run() {
try { ScopedSuppressLogging sl; // Suppress messages for expected errors. f(); }
catch(const Ex& e) {
caught=true;
BOOST_ERROR(string("Caught expected exception: ")e.what()"["+typeid(e).name()+"]");