Use c++14
https://chromium-review.googlesource.com/c/chromium/src/+/583635
This commit is contained in:
parent
9d6db65c7c
commit
dda64bd652
2 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@
|
|||
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
|
||||
'GCC_ENABLE_CPP_RTTI': 'NO',
|
||||
'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES',
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++14',
|
||||
'MACOSX_DEPLOYMENT_TARGET': '10.9',
|
||||
'RUN_CLANG_STATIC_ANALYZER': 'YES',
|
||||
'USE_HEADER_MAP': 'NO',
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
],
|
||||
'target_defaults': {
|
||||
'cflags_cc': [
|
||||
'-std=c++11',
|
||||
'-std=c++14',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'CC': '<(make_clang_dir)/bin/clang',
|
||||
|
@ -122,7 +122,7 @@
|
|||
|
||||
'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99
|
||||
'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++14', # -std=c++14
|
||||
},
|
||||
'target_conditions': [
|
||||
['_type in ["executable", "shared_library"]', {
|
||||
|
|
Loading…
Add table
Reference in a new issue