Browse Source

Fix build with gcc4.6, missing "final" keyword

tags/1.9.4
falkTX 11 years ago
parent
commit
391cfa03d6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      source/includes/CarlaDefines.hpp

+ 2
- 0
source/includes/CarlaDefines.hpp View File

@@ -47,12 +47,14 @@
# define CARLA_PROPER_CPP11_SUPPORT
# if (__GNUC__ * 100 + __GNUC_MINOR__) < 407
# define override // gcc4.7+ only
# define final // gcc4.7+ only
# endif
# endif
#endif

#ifndef CARLA_PROPER_CPP11_SUPPORT
# define override
# define final
# define noexcept
# define nullptr (0)
#endif


Loading…
Cancel
Save