Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
290fb63c
Commit
290fb63c
authored
Aug 12, 2013
by
Michal 'vorner' Vaner
Browse files
[3025] Rename variable
The bug is in offset pointer, not in the red-black tree.
parent
9c88046f
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
290fb63c
...
...
@@ -912,7 +912,7 @@ if test "x$use_shared_memory" = "xyes"; then
fi
AC_SUBST(BOOST_MAPPED_FILE_CXXFLAG)
if test "$BOOST_
RBTREE
_OLD" = "yes" -a "$use_shared_memory" = "yes" ; then
if test "$BOOST_
OFFSET_PTR
_OLD" = "yes" -a "$use_shared_memory" = "yes" ; then
AC_MSG_ERROR([You're trying to compile against boost older than 1.48 with
shared memory. This is known to cause problems under certain situations.
...
...
m4macros/ax_boost_for_bind10.m4
View file @
290fb63c
...
...
@@ -30,9 +30,10 @@ dnl compile managed_mapped_file (can be empty).
dnl It is of no use if "WOULDFAIL" is yes.
dnl BOOST_STATIC_ASSERT_WOULDFAIL set to "yes" if BOOST_STATIC_ASSERT would
dnl cause build error; otherwise set to "no"
dnl BOOST_RBTREE_OLD if the version of boost is older than 1.48. The old
dnl version confuses some versions of gcc optimisations and
dnl certain files should be compiled without optimisations.
dnl BOOST_OFFSET_PTR_OLD if the version of boost is older than 1.48. The old
dnl version confuses some versions of gcc optimisations
dnl and certain files should be compiled without
dnl optimisations.
AC_DEFUN([AX_BOOST_FOR_BIND10], [
AC_LANG_SAVE
...
...
@@ -117,13 +118,13 @@ if test "X$GXX" = "Xyes"; then
#error Too old
#endif
],,[AC_MSG_RESULT(no)
BOOST_
RBTREE
_OLD=no
BOOST_
OFFSET_PTR
_OLD=no
],[AC_MSG_RESULT(yes)
BOOST_
RBTREE
_OLD=yes])
BOOST_
OFFSET_PTR
_OLD=yes])
else
# This doesn't matter for non-g++
BOOST_NUMERIC_CAST_WOULDFAIL=no
BOOST_
RBTREE
_OLD=no
BOOST_
OFFSET_PTR
_OLD=no
fi
# Boost interprocess::managed_mapped_file is highly system dependent and
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment