Review Board 2.0.15


base: Add compiler macros for C++11 final/override

Review Request #2328 - Created Aug. 13, 2014 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 10288:d73379974fc3
---------------------------
base: Add compiler macros for C++11 final/override

Add the macros M5_ATTR_FINAL and M5_ATTR_OVERRIDE which are defined to
final and override respectively if supported by the compiler. This is
done to allow a smooth transition to gcc >= 4.7.

   
Review request changed
Updated (Aug. 26, 2014, 7:08 a.m.)

Status: Closed (submitted)