Interesting, PNGImageDecoder.cpp already checked the libpng version but
checked whether it is bigger than 1.5



2013/12/18 Cedric BAIL <[email protected]>

> On Wed, Dec 18, 2013 at 5:07 PM, Igor Murzov
> <[email protected]> wrote:
> > Compilation fails for me with the following error:
> > --------------------------------------------------------------------
> > [ 13%] Building CXX object
> Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o
> >
> /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:
> In member function 'void WebCore::PNGImageDecoder::headerAvailable()':
> >
> /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
> error: 'png_struct_def::buffer_size' is deprecated (declared at
> /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> >          m_reader->setReadOffset(m_reader->currentBufferSize() -
> png->buffer_size);
> >                                                                       ^
> >
> /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
> error: 'png_struct_def::buffer_size' is deprecated (declared at
> /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> >
> /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
> error: 'png_struct_def::buffer_size' is deprecated (declared at
> /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> >          png->buffer_size = 0;
> >               ^
> >
> /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
> error: 'png_struct_def::buffer_size' is deprecated (declared at
> /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> > cc1plus: all warnings being treated as errors
> > make[2]: ***
> [Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o]
> Error 1
> > make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
> > make: *** [all] Error 2
> > --------------------------------------------------------------------
> >
> > My system is Slackware 14.1 with  gcc-4.8.2, libpng-1.4.12,
> > efl-1.8.2.
>
> I am guessing that your libpng is to old (not sure), but webkit efl is
> really something that require all the latest technology.
> --
> Cedric BAIL
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to