FINAL/OVERRIDE: Define to empty on g++ < 4.7
authorPedro Alves <palves@redhat.com>
Fri, 14 Oct 2016 16:03:16 +0000 (17:03 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 14 Oct 2016 16:03:16 +0000 (17:03 +0100)
commitb4f6af8ee2ea97b8c6f2bca1c2fd728683e68ef5
tree8c4bc6620ec87f8b7d1f48d3319d7f50364c9b29
parentd118ee3761bcf0c861a75e454d0c2b741fccb956
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.
include/ChangeLog
include/ansidecl.h