Switch compilation to C++11 standard with GNU extensions
Why GNU extensions? They where on by default previously, so we're changing nothing besides the C++ standard level. AFAIK, we're using a GNU extension at one place, and this could be replaced by 'decltype' now.
This commit is contained in:
parent
5be52d4a55
commit
3fa9830f4c
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ def defineBuildEnvironment():
|
|||
env.Replace( CPPPATH =["#src"] # used to find includes, "#" means always absolute to build-root
|
||||
, CPPDEFINES=['LUMIERA_VERSION='+VERSION ] # note: it's a list to append further defines
|
||||
, CCFLAGS='-Wall -Wextra'
|
||||
, CXXFLAGS='-Wno-enum-compare'
|
||||
, CXXFLAGS='-std=gnu++11 -Wno-enum-compare'
|
||||
, CFLAGS='-std=gnu99'
|
||||
)
|
||||
env.Append(LINKFLAGS='-Wl,--no-undefined') # require every dependency is given on link, in the right order
|
||||
|
|
|
|||
Loading…
Reference in a new issue