[Webkit-unassigned] [Bug 181046] New: stderr and _IONBF used without including stdio.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 20 10:42:18 PST 2017


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

            Bug ID: 181046
           Summary: stderr and _IONBF used without including stdio.h
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: bmalloc
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com
                CC: ggaren at apple.com

This causes compilation error on FreeBSD:

FAILED: Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o 
/usr/bin/clang++  -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_bmalloc -DDATA_DIR=\"share\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I../../Source/bmalloc -fdiagnostics-color=always -fcolor-diagnostics -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -march=corei7 -B/home/lantw44/.local/bin -pipe -O3 -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -O3 -DNDEBUG -fPIC -MD -MT Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o -MF Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o.d -o Source/bmalloc/CMakeFiles/bmalloc.dir/bmalloc/IsoTLS.cpp.o -c ../../Source/bmalloc/bmalloc/IsoTLS.cpp
../../Source/bmalloc/bmalloc/IsoTLS.cpp:63:21: error: use of undeclared identifier 'stderr'
            setvbuf(stderr, NULL, _IONBF, 0);
                    ^
../../Source/bmalloc/bmalloc/IsoTLS.cpp:63:35: error: use of undeclared identifier '_IONBF'
            setvbuf(stderr, NULL, _IONBF, 0);
                                  ^
2 errors generated.

-- 
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/20171220/26e8d650/attachment.html>


More information about the webkit-unassigned mailing list