[Webkit-unassigned] [Bug 133550] webkit-gtk 2.4.3 fails to build. In file included from Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:39: /usr/include/GL/glext.h:6152:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 11 06:07:20 PDT 2014


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





--- Comment #7 from Alberto Garcia <berto at igalia.com>  2014-06-11 06:07:44 PST ---
(In reply to comment #0)

> /usr/include/GL/glext.h:6152:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr'
> ./Source/ThirdParty/ANGLE/include/GLES2/gl2.h:38:26: error: 'GLintptr' has a previous declaration as 'typedef khronos_intptr_t GLintptr'

So the problem is that we are using these two definitions of GLintptr if GLES 2 is enabled.

khronos_intptr_t is a signed long int (Source/ThirdParty/ANGLE/include/KHR/khrplatform.h)

In amd64 there's no problem because ptrdiff_t is also a long int.

However in arm it's a regular int, hence the conflict.

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