Opened 13 years ago

Closed 13 years ago

#67 closed defect (fixed)

Missing libpng support

Reported by: nospam@… Owned by: Peter Baumann
Priority: major Milestone:
Component: applications Version: 8.2
Keywords: Cc:
Complexity: Medium

Description

png.cc: In member function 'virtual r_convDesc& r_Conv_PNG::convertTo(const char*)':
png.cc:182:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations]
png.cc:182:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations]
png.cc:216:67: error: 'png_info' has no member named 'trans_values'
png.cc:219:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations]
png.cc:219:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations]
png.cc:234:67: error: 'png_info' has no member named 'trans_values'
png.cc:237:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations]
png.cc:237:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations]
png.cc:253:83: error: 'png_info' has no member named 'trans_values'
png.cc:253:114: error: 'png_info' has no member named 'trans_values'
png.cc:253:147: error: 'png_info' has no member named 'trans_values'
png.cc:256:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations]
png.cc:256:21: warning: 'png_info_struct::valid' is deprecated (declared at /usr/include/png.h:657) [-Wdeprecated-declarations]
png.cc:274:15: error: 'png_info' has no member named 'trans_values'
png.cc:275:15: error: 'png_info' has no member named 'trans_values'
png.cc:276:15: error: 'png_info' has no member named 'trans_values'
png.cc:277:15: error: 'png_info' has no member named 'trans_values'
png.cc: In member function 'virtual r_convDesc& r_Conv_PNG::convertFrom(const char*)':
png.cc:433:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations]
png.cc:433:14: warning: 'png_struct_def::jmpbuf' is deprecated (declared at /usr/include/png.h:1114) [-Wdeprecated-declarations]

Attachments (1)

rasdaman-libpng14.diff (3.6 KB ) - added by nospam@… 13 years ago.
add libpng 14 support

Download all attachments as: .zip

Change History (3)

by nospam@…, 13 years ago

Attachment: rasdaman-libpng14.diff added

add libpng 14 support

comment:1 by Dimitar Misev, 13 years ago

Which version of libpng do you have installed? On my system with libpng 1.2.46 I get these errors from your patch:

png.cc: In member function ‘virtual r_convDesc& r_Conv_PNG::convertTo(const char*)’:
png.cc:216:67: error: ‘png_info’ has no member named ‘trans_color’
png.cc:234:67: error: ‘png_info’ has no member named ‘trans_color’
png.cc:253:83: error: ‘png_info’ has no member named ‘trans_color’
png.cc:253:113: error: ‘png_info’ has no member named ‘trans_color’
png.cc:253:145: error: ‘png_info’ has no member named ‘trans_color’
png.cc:274:15: error: ‘png_info’ has no member named ‘trans_color’
png.cc:275:15: error: ‘png_info’ has no member named ‘trans_color’
png.cc:276:15: error: ‘png_info’ has no member named ‘trans_color’
png.cc:277:15: error: ‘png_info’ has no member named ‘trans_color’
png.cc:370:59: error: ‘png_info’ has no member named ‘trans_color’
png.cc:375:59: error: ‘png_info’ has no member named ‘trans_color’
png.cc:380:60: error: ‘png_info’ has no member named ‘trans_color’
png.cc:380:89: error: ‘png_info’ has no member named ‘trans_color’
png.cc:380:120: error: ‘png_info’ has no member named ‘trans_color’

comment:2 by Dimitar Misev, 13 years ago

Resolution: fixed
Status: newclosed

Ah right, libpng14, I submitted a patch that fixes this. Thanks for reporting!

Note: See TracTickets for help on using tickets.