[Webkit-unassigned] [Bug 134971] On gentoo, net-libs/webkit-gtk-2.4.4-r200 complains when compiling.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 4 07:51:48 PDT 2014


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





--- Comment #2 from Alberto Garcia <berto at igalia.com>  2014-08-04 07:52:00 PST ---
This is caused by the following generated code (see
Source/JavaScriptCore/inspector/scripts/CodeGeneratorInspectorStrings.py):

    RefPtr<Inspector::InspectorObject> m_result;

    operator RefPtr<%s>& ()
    {
        COMPILE_ASSERT(STATE == AllFieldsSet, result_is_not_ready);
        COMPILE_ASSERT(sizeof(%s) == sizeof(Inspector::InspectorObject), cannot_cast);
        return *reinterpret_cast<RefPtr<%s>*>(&m_result);
    }

As ┼Żan mentioned, -fno-strict-aliasing should prevent that
warning. Are you using it?

-- 
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