FINAL/OVERRIDE: Define to empty on g++ < 4.7
authorPedro Alves <palves@redhat.com>
Fri, 14 Oct 2016 15:25:35 +0000 (15:25 +0000)
committerPedro Alves <palves@gcc.gnu.org>
Fri, 14 Oct 2016 15:25:35 +0000 (15:25 +0000)
commit30cd7c740ce5525181b557b51238963260f16637
tree45a755a4272a916085fe367cdfd7a6495ab76611
parent2121e959e1f601542e8c1712336bbd9994593936
FINAL/OVERRIDE: Define to empty on g++ < 4.7

final/override were only implemented in g++ 4.7.

include/ChangeLog
2016-10-14  Pedro Alves  <palves@redhat.com>

* ansidecl.h [__cplusplus >= 201103 && GCC_VERSION < 4007] (FINAL,
OVERRIDE): Define as empty.
[__cplusplus < 201103 && GCC_VERSION < 4007] (FINAL): Define as
__final.
[__cplusplus < 201103 && GCC_VERSION >= 4007] (OVERRIDE): Define as
empty.

From-SVN: r241167
include/ChangeLog
include/ansidecl.h