Merge pull request #905 from nicolasnoble/c++14

Trying to enable C++14.
This commit is contained in:
Nicolas Noble 2019-06-04 13:10:09 -07:00 committed by GitHub
commit c61d7382df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@
], ],
'cflags_cc': [ 'cflags_cc': [
'-Werror', '-Werror',
'-std=c++11' '-std=c++1y'
], ],
'include_dirs': [ 'include_dirs': [
'deps/grpc', 'deps/grpc',
@ -209,7 +209,7 @@
'-DPB_FIELD_32BIT', '-DPB_FIELD_32BIT',
'-fvisibility=hidden', '-fvisibility=hidden',
'-stdlib=libc++', '-stdlib=libc++',
'-std=c++11', '-std=c++1y',
'-Wno-error=deprecated-declarations' '-Wno-error=deprecated-declarations'
], ],
}, },

View File

@ -70,7 +70,7 @@
], ],
'cflags_cc': [ 'cflags_cc': [
'-Werror', '-Werror',
'-std=c++11' '-std=c++1y'
], ],
'include_dirs': [ 'include_dirs': [
'deps/grpc', 'deps/grpc',
@ -178,7 +178,7 @@
'${item}', '${item}',
% endfor % endfor
'-stdlib=libc++', '-stdlib=libc++',
'-std=c++11', '-std=c++1y',
'-Wno-error=deprecated-declarations' '-Wno-error=deprecated-declarations'
], ],
% endif % endif