Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb5c6d19

Browse files
author
muhua.gmh
committed
Fixed multithread problem
the boost::spirit grammar object is not thread safe without -DBOOST_SPIRIT_THREADSAFEseehttps://groups.google.com/forum/#!topic/cpp-netlib/yqa5Qtpc1j4
1 parent413f099 commitb5c6d19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎libs/network/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ file(GLOB_RECURSE CPP-NETLIB_HEADERS
1212
"${CPP-NETLIB_SOURCE_DIR}/boost/""*.hpp")
1313

1414
set(CPP-NETLIB_URI_SRCSuri/uri.cppuri/schemes.cpp)
15+
add_definitions("-DBOOST_SPIRIT_THREADSAFE")
1516
add_library(cppnetlib-uri${CPP-NETLIB_URI_SRCS})
1617
set_target_properties(cppnetlib-uri
1718
PROPERTIESVERSION${CPPNETLIB_VERSION_STRING}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp