[Webkit-unassigned] [Bug 195205] Fix debug builds with GCC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 1 05:38:09 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=195205

--- Comment #9 from Claudio Saavedra <csaavedra at igalia.com> ---
(In reply to Frédéric Wang (:fredw) from comment #8)
> (In reply to Claudio Saavedra from comment #7)
> > +fredw
> > 
> > > The macro invokes WTFReportAssertionFailure which isn't constexpr.
> > 
> > Isn't that then a bug in ASSERT_UNDER_CONSTEXPR_CONTEXT()?
> 
> I think this is expected, as the name indicates it only works under a
> constexpr context. cc'in Yusuke since he is the one who initially introduced
> this.

But it's ASSERT_UNDER_CONSTEXPR_CONTEXT() that ends up calling WTFReportAssertionFailure(), which is not constexpr. I understood that the idea of ASSERT_UNDER_CONSTEXPR_CONTEXT() was to allow for assertions when the calling methods are constexpr, but it won't work.

Unless I'm understanding it completely wrong, of course :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190301/11277be5/attachment.html>


More information about the webkit-unassigned mailing list