[Webkit-unassigned] [Bug 207365] New: [GTK] FTBFS: ../Source/ThirdParty/ANGLE/include/platform/Platform.h:239:35: error: 'size_t' has not been declared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 6 15:44:39 PST 2020


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

            Bug ID: 207365
           Summary: [GTK] FTBFS:
                    ../Source/ThirdParty/ANGLE/include/platform/Platform.h
                    :239:35: error: 'size_t' has not been declared
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: ANGLE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org, dino at apple.com

WebKitGTK 2.27.4 FTBFS with GCC 10:

In file included from ../Source/ThirdParty/ANGLE/src/common/event_tracer.h:9,
                 from ../Source/ThirdParty/ANGLE/src/common/event_tracer.cpp:5:
../Source/ThirdParty/ANGLE/include/platform/Platform.h:239:35: error: 'size_t' has not been declared
  239 |                                   size_t programSize,
      |                                   ^~~~~~
../Source/ThirdParty/ANGLE/include/platform/Platform.h:243:33: error: 'size_t' has not been declared
  243 |                                 size_t programSize,
      |                                 ^~~~~~


Problem is ANGLE's Platform.h only #includes <stdint.h> and <array>. size_t is declared in a bunch of different stdlib headers [1], but stdint.h is not one of them.

stdlib.h seems like the nicest one to use here.

[1] https://en.cppreference.com/w/c/types/size_t

-- 
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/20200206/00886c1e/attachment.htm>


More information about the webkit-unassigned mailing list