Bug 197415 - [WPE][Qt] Use C++17 instead of C++14
Summary: [WPE][Qt] Use C++17 instead of C++14
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-30 08:03 PDT by Ludovico de Nittis
Modified: 2019-05-20 07:51 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.80 KB, patch)
2019-04-30 08:08 PDT, Ludovico de Nittis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ludovico de Nittis 2019-04-30 08:03:10 PDT
This is a regression introduced with the commit https://bugs.webkit.org/show_bug.cgi?id=197131

The WPE Qt port was not updated to C++17 and this leaded to a compilation error.

In file included from DerivedSources/ForwardingHeaders/wtf/HashTraits.h:28,
                 from DerivedSources/ForwardingHeaders/wtf/glib/GRefPtr.h:28,
                 from ../../Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.h:31,
                 from ../../Source/WebKit/UIProcess/API/wpe/qt/WPEQmlExtensionPlugin.cpp:24:
DerivedSources/ForwardingHeaders/wtf/Optional.h:322:68: error: expected ‘)’ before ‘,’ token
     template <class... Args> explicit Optional_base(std::in_place_t, Args&&... args)
                                                    ~                                                               ^
                                                                                                                    )
[...]

Full log here https://paste.ubuntu.com/p/nvWmBjpq65/

I'm going to upload a patch for this.
Comment 1 Ludovico de Nittis 2019-04-30 08:08:39 PDT
Created attachment 368563 [details]
Patch
Comment 2 WebKit Commit Bot 2019-05-20 07:51:00 PDT
Comment on attachment 368563 [details]
Patch

Clearing flags on attachment: 368563

Committed r245516: <https://trac.webkit.org/changeset/245516>
Comment 3 WebKit Commit Bot 2019-05-20 07:51:01 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-05-20 07:51:18 PDT
<rdar://problem/50945871>