[Webkit-unassigned] [Bug 44870] [Qt] ASSERT_UNUSED and UNUSED_PARAM should call Q_UNUSED

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 30 10:12:11 PDT 2010


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





--- Comment #10 from Darin Adler <darin at apple.com>  2010-08-30 10:12:11 PST ---
(In reply to comment #8)
> (In reply to comment #6)
> > What about UNUSED_PARAM? What about non-Qt platforms?
> > 
> > I’d like to see both ASSERT_UNUSED and UNUSED_PARAM use the best technique available. Probably they would just do it directly instead of using Q_UNUSED.
> 
> Do you mean we should copy and use the logic of Q_UNUSED instead of using Q_UNUSED?

Yes. We’d want to do that if there are any non-Qt ports that also work with the compilers that require the alternate technique. And if we did that, then we could avoid having any Qt-specific code.

In the end, I don’t care whether we use Q_UNUSED or not, I just want the macros to work well for everyone.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list