diff --git a/configure.ac b/configure.ac index 9423545021..fb6251b4f2 100644 --- a/configure.ac +++ b/configure.ac @@ -275,6 +275,7 @@ char * strerror(int n); #define BOOST_DISABLE_THREADS 1 #define BOOST_NO_WREGEX 1 #define BOOST_NO_WSTRING 1 +#define BOOST_SIGNALS_NO_DEPRECATION_WARNING 1 // TR1 regex not supported in GCC <= 4.5 #ifndef LYX_USE_TR1 diff --git a/src/Cursor.cpp b/src/Cursor.cpp index d431965163..919396c4eb 100644 --- a/src/Cursor.cpp +++ b/src/Cursor.cpp @@ -65,22 +65,6 @@ namespace lyx { namespace { -bool positionable(DocIterator const & cursor, DocIterator const & anchor) -{ - // avoid deeper nested insets when selecting - if (cursor.depth() > anchor.depth()) - return false; - - // anchor might be deeper, should have same path then - for (size_t i = 0; i < cursor.depth(); ++i) - if (&cursor[i].inset() != &anchor[i].inset()) - return false; - - // position should be ok. - return true; -} - - // Find position closest to (x, y) in cell given by iter. // Used only in mathed DocIterator bruteFind2(Cursor const & c, int x, int y) diff --git a/status.21x b/status.21x index ebb41e122c..aa5108df58 100644 --- a/status.21x +++ b/status.21x @@ -167,3 +167,4 @@ What's new * BUILD/INSTALLATION +- fix a couple of compiler warnings.