mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 19:10:36 +00:00
Bug 808876 - Part 0: Only allow the usage of enum classes in gcc 4.5 and newer; r=bzbarsky
Older gccs such as gcc 4.4 cannot handle comparison operators taking arguments of the enum class type, which would cause valid C++ code to not compile. So we should just use our fallback enum class emulation on those platforms. --HG-- extra : rebase_source : 3cd2fd2faabc36c767e76442efabf55f8a54c83f
This commit is contained in:
parent
2b2e7edf42
commit
e485f90bb4
@ -93,6 +93,8 @@
|
||||
# endif
|
||||
# if __GNUC_MINOR__ >= 4
|
||||
# define MOZ_HAVE_CXX11_DELETE
|
||||
# endif
|
||||
# if __GNUC_MINOR__ >= 5
|
||||
# define MOZ_HAVE_CXX11_ENUM_TYPE
|
||||
# define MOZ_HAVE_CXX11_STRONG_ENUMS
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user