[Webkit-unassigned] [Bug 79194] [EFL] Build warning: Fix warn_unused_result warnings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 23 03:04:55 PST 2012


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





--- Comment #1 from Byungwoo Lee <bw80.lee at samsung.com>  2012-02-23 03:04:55 PST ---
Changed title to '[EFL] Build warning: Fix warn_unused_result warnings'. And re-scoping this bug only for warn_unused_result warning.

** On release build
    ($ ./Tools/Scripts/build-webkit --efl)
...
[100%] Building C object Tools/EWebLauncher/CMakeFiles/bin/EWebLauncher.dir/main.c.o
/WebKit/Tools/DumpRenderTree/efl/ImageDiff.cpp: In function void printImage(Evas_Object*):
/WebKit/Tools/DumpRenderTree/efl/ImageDiff.cpp:213: warning: ignoring return value of ssize_t write(int, const void*, size_t), declared with attribute warn_unused_result
...


** On build for DRT test
    ($ ./Tools/Scripts/build-webkit --efl --touch-events --touch-icon-loading \
                                    --blob --device-orientation --fullscreen-api \
                                    --geolocation --notifications --orientation-events \
                                    --video --workers --shared-workers --request-animation-frame \
                                    --page-visibility-api --cmakearg="-DSHARED_CORE=ON")
...
[ 96%] Building CXX object Source/WebCore/CMakeFiles/webcore_efl.dir/platform/efl/SharedBufferEfl.cpp.o
/WebKit/Source/WebCore/platform/efl/SharedBufferEfl.cpp: In static member function static WTF::PassRefPtr<WebCore::SharedBuffer> WebCore::SharedBuffer::createWithContentsOfFile(const WTF::String&):
/WebKit/Source/WebCore/platform/efl/SharedBufferEfl.cpp:64: warning: ignoring return value of size_t fread(void*, size_t, size_t, FILE*), declared with attribute warn_unused_result
...

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