Summary: | REGRESSION(r266681) [GTK] constexpr build failure in LTS/Debian with GCC 8 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Lauro Moura <lmoura> | ||||||||
Component: | WebCore Misc. | Assignee: | Lauro Moura <lmoura> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, bugs-noreply, darin, sam, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=216219 | ||||||||||
Attachments: |
|
Description
Lauro Moura
2020-09-08 12:37:01 PDT
Created attachment 408256 [details]
Patch
Comment on attachment 408256 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=408256&action=review > Source/WebCore/platform/text/TextCodecSingleByte.cpp:248 > + default: > + RELEASE_ASSERT_NOT_REACHED(); I guess we can do this. But sadly this has a side effect of suppressing the compile-time warning if we forget to include one of the enumeration values here. Would be nice to find a solution that does not do that. Comment on attachment 408256 [details]
Patch
I'd prefer to just remove the constexpr from this function.
Comment on attachment 408256 [details]
Patch
I'd prefer to just remove the constexpr from this function.
Don’t we need the constexpr to make this work as a template argument? Comment on attachment 408256 [details]
Patch
No, tableForDecoding isn't used as a template argument.
Created attachment 408259 [details]
Patch
Created attachment 408260 [details]
Patch
Lauro, does this fix your build? (In reply to Alex Christensen from comment #9) > Lauro, does this fix your build? Could not test it direcly on the bot but indeed it should fix. |