[Webkit-unassigned] [Bug 96005] Source/WebCore/platform/Length.cpp fails to build on PPC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 6 12:16:52 PDT 2012


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





--- Comment #3 from Jeremy Huddleston <jeremyhu at apple.com>  2012-09-06 12:17:06 PST ---
Yeah, I don't know why that assert should be there.  It's clear that it is not the case.  The assert is essentially saying that these two structures should take up the same amount of memory, and that's clearly not the case:

struct Length {
    union {
        int m_intValue;
        float m_floatValue;
    };
    bool m_quirk;
    unsigned char m_type;
    bool m_isFloat;
};

struct SameSizeAsLength {
    int32_t value;
    int32_t metaData;
};

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