]> git.lyx.org Git - features.git/commit
Use explicit macro to declare that we want to use C++11
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 19 May 2015 13:10:38 +0000 (15:10 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 20 May 2015 08:19:19 +0000 (10:19 +0200)
commit329eae5605d7bc40a53ebafa817470d9739ff632
tree58e414971e023c366369aae2fc9b6af6cfe265c6
parent8b86af72980779f64e8beb9353693169c2b95ef2
Use explicit macro to declare that we want to use C++11

This replaces tests for __cplusplus >= 201103L, which are wrong with gcc 4.6 and earlier. Indeed these versions of gcc define __cplusplus = 1.

Reference:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
config/lyxinclude.m4
src/support/bind.h
src/support/functional.h
src/support/lyxalgo.h
src/support/regex.h
src/support/shared_ptr.h