]> git.lyx.org Git - lyx.git/commit
Improve C++11 support
authorGeorg Baum <baum@lyx.org>
Sun, 21 Dec 2014 19:19:12 +0000 (20:19 +0100)
committerGeorg Baum <baum@lyx.org>
Sun, 21 Dec 2014 19:22:16 +0000 (20:22 +0100)
commit90b1f084bf0998e37ad3fa9f54641656044c448f
treef06e17c6547664832a536018d186a2d9183260c3
parentc9609fe56a2deb40f001503c2fd707c990a2e0e2
Improve C++11 support

If we compile in C++11 mode, do not use the boost replacements for bind,
functional and shared_ptr. regex is excluded, since it misses match_partial, and
gcc does not provide a usable one in versions less than 4.9.0.
I also removed the #define for match_partial, since this is dangerous. Now you
get a compile error instead of subtle runtime differences.
CMakeLists.txt
configure.ac
src/support/bind.h
src/support/functional.h
src/support/regex.h
src/support/shared_ptr.h