Project

General

Profile

Bug #7001

wt-4 build issue on new ubuntu 18.04

Added by Mark Petryk over 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
04/13/2019
Due date:
% Done:

0%

Estimated time:

Description

Got this warning while building on a new box;

[ 78%] Building CXX object src/CMakeFiles/wt.dir/Wt/WRasterImage-gm.C.o
/home/serveradmin/projects/wt/src/Wt/WRasterImage-gm.C: In member function ‘Wt::WColor Wt::WRasterImage::getPixel(int, int)’:
/home/serveradmin/projects/wt/src/Wt/WRasterImage-gm.C:787:54: warning: ‘PixelPacket GetOnePixel(Image*, long int, long int)’ is deprecated [-Wdeprecated-declarations]
   PixelPacket pixel = GetOnePixel(impl_->image_, x, y);
                                                      ^
In file included from /usr/include/GraphicsMagick/magick/api.h:93:0,
                 from /home/serveradmin/projects/wt/src/Wt/WRasterImage-gm.C:30:
/usr/include/GraphicsMagick/magick/pixel_cache.h:118:3: note: declared here
   GetOnePixel(Image *image,const long x,const long y)
   ^~~~~~~~~~~
[ 78%] Linking CXX shared library libwt.so
[ 78%] Built target wt
Scanning dependencies of target wttest

No data to display

Also available in: Atom PDF