mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
Revert "Rollback to C++11."
This reverts commit 8b01876d79
as /std:c++11 is no longer support by current Visual Studio toolchain.
Change-Id: Ib5c246aee90f097d3fdf6637c4ffdcb65128835a
Reviewed-on: https://dart-review.googlesource.com/c/85980
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
9b5fcc9166
commit
dd1f62cd55
|
@ -267,7 +267,8 @@ config("compiler") {
|
||||||
# C++11 compiler flags setup.
|
# C++11 compiler flags setup.
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
cc_std = [ "/std:c++11" ]
|
# Up-to-date toolchain MSVC doesn't support c++11 flag any longer.
|
||||||
|
cc_std = [ "/std:c++14" ]
|
||||||
} else {
|
} else {
|
||||||
cc_std = [ "-std=c++11" ]
|
cc_std = [ "-std=c++11" ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue