[Webkit-unassigned] [Bug 158681] New: std::atexit used without including cstdlib

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 12 19:38:52 PDT 2016


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

            Bug ID: 158681
           Summary: std::atexit used without including cstdlib
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com

This causes compilation error on FreeBSD:

/home/lantw44/webkit/source/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:169:5: error: no member named 'atexit' in namespace 'std'; did you mean simply
      'atexit'?
    std::atexit([] { PlatformDisplay::sharedDisplay().terminateEGLDisplay(); });
    ^~~~~~~~~~~
    atexit
/usr/include/stdlib.h:84:6: note: 'atexit' declared here
int      atexit(void (*)(void));
         ^
1 error generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160613/388e7a72/attachment-0001.html>


More information about the webkit-unassigned mailing list