WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 197131
185176
Use more C++17
https://bugs.webkit.org/show_bug.cgi?id=185176
Summary
Use more C++17
JF Bastien
Reported
2018-05-01 17:06:47 PDT
Move the Xcode builds to C++17.
Attachments
WIP
(30.60 KB, patch)
2018-05-01 17:08 PDT
,
JF Bastien
jfbastien
: commit-queue-
Details
Formatted Diff
Diff
WIP
(30.46 KB, patch)
2018-05-01 17:15 PDT
,
JF Bastien
no flags
Details
Formatted Diff
Diff
Patch
(20.24 KB, patch)
2018-05-16 11:18 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Trial #2
(23.02 KB, patch)
2018-05-16 11:34 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews202 for win-future
(12.85 MB, application/zip)
2018-05-16 23:28 PDT
,
EWS Watchlist
no flags
Details
Patch for landing
(27.30 KB, patch)
2018-05-17 11:29 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Patch for landing
(28.57 KB, patch)
2018-05-17 12:29 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews202 for win-future
(12.89 MB, application/zip)
2018-05-18 08:14 PDT
,
EWS Watchlist
no flags
Details
Patch
(29.68 KB, patch)
2018-05-21 10:15 PDT
,
Yusuke Suzuki
no flags
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
JF Bastien
Comment 1
2018-05-01 17:08:06 PDT
Created
attachment 339244
[details]
WIP WIP, contains changes from
https://bugs.webkit.org/show_bug.cgi?id=185159
EWS Watchlist
Comment 2
2018-05-01 17:09:26 PDT
Attachment 339244
[details]
did not pass style-queue: ERROR: Source/WebKit/Shared/SandboxExtension.h:123: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebKit/Shared/SandboxExtension.h:123: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WTF/wtf/Optional.h:61: in_place_t is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] ERROR: Source/WTF/wtf/Optional.h:63: Missing space before { [whitespace/braces] [5] ERROR: Source/WTF/wtf/Optional.h:63: Missing space inside { }. [whitespace/braces] [5] ERROR: Source/WTF/wtf/Optional.h:1071: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 6 in 33 files If any of these errors are false positives, please file a bug against check-webkit-style.
JF Bastien
Comment 3
2018-05-01 17:15:42 PDT
Created
attachment 339245
[details]
WIP Fix Linux issue.
EWS Watchlist
Comment 4
2018-05-01 17:18:24 PDT
Attachment 339245
[details]
did not pass style-queue: ERROR: Source/WTF/wtf/StdLibExtras.h:555: in_place_t is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] ERROR: Source/WTF/wtf/StdLibExtras.h:557: Missing space before { [whitespace/braces] [5] ERROR: Source/WTF/wtf/StdLibExtras.h:557: Missing space inside { }. [whitespace/braces] [5] ERROR: Source/WebKit/Shared/SandboxExtension.h:123: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebKit/Shared/SandboxExtension.h:123: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WTF/wtf/Optional.h:1057: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 6 in 34 files If any of these errors are false positives, please file a bug against check-webkit-style.
Arunprasad
Comment 5
2018-05-02 02:22:24 PDT
@jfbastien, What is the minimum Xcode version required to build with this change?
Yusuke Suzuki
Comment 6
2018-05-16 11:18:45 PDT
Created
attachment 340503
[details]
Patch
JF Bastien
Comment 7
2018-05-16 11:20:48 PDT
Comment on
attachment 340503
[details]
Patch Is that all that was missing? I had to work around `register` and other issues too. Or was that fixed in other patches? Anyhow, lgtm if bots happy, assuming Linux also works.
EWS Watchlist
Comment 8
2018-05-16 11:21:34 PDT
Note that there are important steps to take when updating ANGLE. See
http://trac.webkit.org/wiki/UpdatingANGLE
EWS Watchlist
Comment 9
2018-05-16 11:21:43 PDT
Attachment 340503
[details]
did not pass style-queue: ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 33 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yusuke Suzuki
Comment 10
2018-05-16 11:34:03 PDT
Created
attachment 340508
[details]
Trial #2
Yusuke Suzuki
Comment 11
2018-05-16 12:15:19 PDT
(In reply to JF Bastien from
comment #7
)
> Comment on
attachment 340503
[details]
> Patch > > Is that all that was missing? I had to work around `register` and other > issues too. Or was that fixed in other patches? > > Anyhow, lgtm if bots happy, assuming Linux also works.
The patch is a bit shrunk: Just enabling C++17 for Xcode. In my local environment, it works fine. But the bot cannot use gnu++17 option... Can we upgrade the bot's clang?
Yusuke Suzuki
Comment 12
2018-05-16 12:17:53 PDT
Currently I'm using C++14 for ANGLE and libwebrtc. libwebrtc requires a bit change to adopt C++17. The change is posted to the upstream[1]. [1]:
https://webrtc-review.googlesource.com/c/src/+/77280
EWS Watchlist
Comment 13
2018-05-16 23:28:28 PDT
Comment on
attachment 340503
[details]
Patch
Attachment 340503
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/7705670
New failing tests: http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.html
EWS Watchlist
Comment 14
2018-05-16 23:28:39 PDT
Created
attachment 340557
[details]
Archive of layout-test-results from ews202 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews202 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Yusuke Suzuki
Comment 15
2018-05-17 11:21:43 PDT
I think the bot is using clang-4 or so. I'll change xcode option to gnu++1z to make EWS green. Please change this option once build bot is upgraded.
Yusuke Suzuki
Comment 16
2018-05-17 11:29:35 PDT
Created
attachment 340611
[details]
Patch for landing
Yusuke Suzuki
Comment 17
2018-05-17 12:29:26 PDT
Created
attachment 340624
[details]
Patch for landing
EWS Watchlist
Comment 18
2018-05-18 08:14:13 PDT
Comment on
attachment 340611
[details]
Patch for landing
Attachment 340611
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/7722016
New failing tests: http/tests/security/local-video-source-from-remote.html
EWS Watchlist
Comment 19
2018-05-18 08:14:25 PDT
Created
attachment 340697
[details]
Archive of layout-test-results from ews202 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews202 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Yusuke Suzuki
Comment 20
2018-05-21 10:15:38 PDT
Created
attachment 340858
[details]
Patch
Yusuke Suzuki
Comment 21
2018-05-21 22:48:58 PDT
EWS becomes green, let's land it.
Yusuke Suzuki
Comment 22
2018-05-21 23:46:49 PDT
Committed
r232052
: <
https://trac.webkit.org/changeset/232052
>
Radar WebKit Bug Importer
Comment 23
2018-05-21 23:48:58 PDT
<
rdar://problem/40442803
>
Ryan Haddad
Comment 24
2018-05-22 10:18:03 PDT
Though this change is green on EWS and on the webkit.org bots, it causes multiple Apple internal builds to fail. I need to roll this out for now. Jonathan is going to try to work through some of the build errors that we are seeing so that we can attempt to land this again without any unexpected breakage.
Ryan Haddad
Comment 25
2018-05-22 10:21:56 PDT
Reverted
r232052
for reason: Breaks internal builds. Committed
r232069
: <
https://trac.webkit.org/changeset/232069
>
Alexey Proskuryakov
Comment 26
2020-03-10 20:43:52 PDT
This did happen via
bug 197131
. *** This bug has been marked as a duplicate of
bug 197131
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug