Skip to content

Commit

Permalink
Build internals of Skia with c++17
Browse files Browse the repository at this point in the history
Change-Id: I7fedc818b6fad5c08f37c8002268c65eefdf57a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1757345
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713492}
  • Loading branch information
bsalomon authored and Commit Bot committed Nov 7, 2019
1 parent e9e8846 commit 448ec6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ config("skia_library_config") {
# assembly code contains flow control(jmp or jcc) statements.

"/wd4800", # forcing value to bool 'true/false'(assigning int to bool).
"/wd5041", # out-of-line definition for constexpr static data member is not needed and is deprecated in C++17
]
cflags_cc = [ "/std:c++17" ]
} else {
cflags_cc = [ "-std=c++17" ]
}
}

Expand Down

0 comments on commit 448ec6f

Please sign in to comment.