Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
# simply not feasible to squelch all warnings, never mind that the
# libraries in deps/ are not under our control.
'cflags!': ['-Werror'],
'cflags_cc': [ '-std=gnu++11' ],
'msvs_settings': {
'VCCLCompilerTool': {
'StringPooling': 'true', # pool string literals
Expand Down Expand Up @@ -414,6 +415,7 @@
['clang==1', {
'xcode_settings': {
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'CLANG_CXX_LANGUAGE_STANDARD': 'c++14', # -std=c++14
'CLANG_CXX_LIBRARY': 'libc++',
},
}],
Expand All @@ -436,11 +438,6 @@
'-Wl,--export-dynamic',
],
}],
['llvm_version != 0', {
'cflags_cc': [ '-std=c++14' ],
}, {
'cflags_cc': [ '-std=gnu++11' ],
}],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe keep that for FreeBSD since mac seems to ignore it

],
}
}