Bug 162596 - [EFL] Fix debug build break since r204205
Summary: [EFL] Fix debug build break since r204205
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 162552 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-27 00:04 PDT by Joonghun Park
Modified: 2016-10-07 02:35 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonghun Park 2016-09-27 00:04:18 PDT
Fix debug build break of the message as below.

In file included from ../../Source/WTF/wtf/StdLibExtras.h:33:0,
                 from ../../Source/WTF/wtf/FastMalloc.h:26,
                 from ../../Source/WebCore/config.h:75,
                 from ../../Source/WebCore/platform/graphics/BitmapImage.cpp:27:
../../Source/WebCore/platform/graphics/BitmapImage.cpp: In member function ‘WebCore::NativeImagePtr WebCore::BitmapImage::frameImageAtIndex(size_t, float)’:
../../Source/WTF/wtf/Assertions.h:394:68: error: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘WebCore::SubsamplingLevel’ [-Werror=format=]
 #define LOG(channel, ...) WTFLog(&LOG_CHANNEL(channel), __VA_ARGS__)
                                                                    ^
../../Source/WebCore/platform/graphics/BitmapImage.cpp:351:5: note: in expansion of macro ‘LOG’
     LOG(Images, "BitmapImage %p frameImageAtIndex - subsamplingLevel %d at scale %.4f", this, subsamplingLevel, presentationScaleHint);
     ^
../../Source/WTF/wtf/Assertions.h:394:68: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘WebCore::SubsamplingLevel’ [-Werror=format=]
 #define LOG(channel, ...) WTFLog(&LOG_CHANNEL(channel), __VA_ARGS__)
                                                                    ^
../../Source/WebCore/platform/graphics/BitmapImage.cpp:356:9: note: in expansion of macro ‘LOG’
         LOG(Images, "  subsamplingLevel was %d, resampling", m_frames[index].subsamplingLevel());
         ^
cc1plus: all warnings being treated as errors
Comment 1 Joonghun Park 2016-09-27 00:09:40 PDT
Committed r206419: <http://trac.webkit.org/changeset/206419>
Comment 2 Michael Catanzaro 2016-10-07 02:35:44 PDT
*** Bug 162552 has been marked as a duplicate of this bug. ***