* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘ragg’ ...
** this is package ‘ragg’ version ‘1.5.0’
** package ‘ragg’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp
Using PKG_LIBS=-lfreetype -lpng16 -ltiff -ljpeg -lwebp -lwebpmux
** libs
using C++ compiler: ‘g++-15 (Debian 15.2.0-12) 15.2.0’
make[1]: Entering directory '/tmp/RtmpJsf2F9/R.INSTALL28595f471b5a7c/ragg/src'
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c capture_dev.cpp -o capture_dev.o
In file included from ragg.h:15,
from capture_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDeviceCapture.h:4,
from capture_dev.cpp:4:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDeviceCapture.h:13:59: required from ‘AggDeviceCapture<PIXFMT>::AggDeviceCapture(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
13 | AggDevice<PIXFMT>(fp, w, h, ps, bg, res, scaling, snap)
| ^
capture_dev.cpp:20:3: required from here
20 | );
| ^
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pattern.h:9:
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba8T<agg::linear> >; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In instantiation of ‘void agg::image_filter_lut::calculate(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’:
./agg/include/agg_image_filters.h:78:22: required from ‘agg::image_filter_lut::image_filter_lut(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’
78 | calculate(filter, normalization);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rendering.h:46:27: required from ‘void render_raster(agg::rendering_buffer&, unsigned int, unsigned int, Raster&, RasterClip&, Scanline&, Interpolator, Render&, bool, bool, bool) [with Source = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Target = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; agg::rendering_buffer = agg::row_accessor<unsigned char>]’
46 | agg::image_filter_lut filter(filter_kernel, true);
| ^~~~~~
AggDevice.h:1370:46: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawRaster(unsigned int*, int, int, double, double, double, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1370 | render_raster<pixfmt_r_raster, BLNDFMT>(rbuf, w, h, ras, ras_clip, slu, interpolator, renderer, interpolate, current_clip != NULL, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:188:21: required from ‘void agg_raster(unsigned int*, int, int, double, double, double, double, double, Rboolean, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
188 | device->drawRaster(raster, w, h, x, y, width, height, rot, interpolate);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:475:16: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
475 | dd->raster = agg_raster<T>;
| ^~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:270:36: required from ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’
270 | unsigned cmd = v.vertex(x, y, m_dx, m_dy, m_scale);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:24:
./agg/include/agg_span_interpolator_linear.h: In instantiation of ‘void agg::span_interpolator_linear<Transformer, SubpixelShift>::begin(double, double, unsigned int) [with Transformer = agg::trans_affine; unsigned int SubpixelShift = 8]’:
./agg/include/agg_span_image_filter_rgba.h:59:44: required from ‘void agg::span_image_filter_rgba_nn<Source, Interpolator>::generate(color_type*, int, int, unsigned int) [with Source = agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; color_type = agg::rgba8T<agg::linear>]’
59 | base_type::interpolator().begin(x + base_type::filter_dx_dbl(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | y + base_type::filter_dy_dbl(), len);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:171:30: required from ‘void agg::render_scanline_aa(const Scanline&, BaseRenderer&, SpanAllocator&, SpanGenerator&) [with Scanline = scanline_u8; BaseRenderer = renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >; SpanAllocator = span_allocator<rgba8T<linear> >; SpanGenerator = span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> >]’
171 | span_gen.generate(colors, x, y, len);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:230:31: required from ‘void agg::renderer_scanline_aa<BaseRenderer, SpanAllocator, SpanGenerator>::render(const Scanline&) [with Scanline = agg::scanline_u8; BaseRenderer = agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SpanAllocator = agg::span_allocator<agg::rgba8T<agg::linear> >; SpanGenerator = agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> >]’
230 | render_scanline_aa(sl, *m_ren, *m_alloc, *m_span_gen);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:449:27: required from ‘void agg::render_scanlines(Rasterizer&, Scanline&, Renderer&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u8; Renderer = renderer_scanline_aa<renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_allocator<rgba8T<linear> >, span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> > >]’
449 | ren.render(sl);
| ~~~~~~~~~~^~~~
rendering.h:21:26: required from ‘void render(Raster&, RasterClip&, Scanline&, Render&, bool) [with ScanlineRes = agg::scanline_p8; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_scanline_aa<agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_allocator<agg::rgba8T<agg::linear> >, agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> > >]’
21 | agg::render_scanlines(ras, sl, renderer);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
group.h:73:29: required from ‘void Group<PIXFMT, color>::do_blend(int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
73 | render<agg::scanline_p8>(ras, ras_clip, sl, none_renderer, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1494:32: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1494 | recording_group->do_blend(MAX_CELLS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
62 | int x1 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | int y1 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | int x2 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | int y2 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static double agg::rgba8T<Colorspace>::to_double(value_type) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:422:42: required from ‘static void agg::comp_op_rgba_src_in<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
422 | double da = ColorT::to_double(p[Order::A]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
354 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static agg::rgba8T<Colorspace>::value_type agg::rgba8T<Colorspace>::from_double(double) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_base.h:89:55: required from ‘static void agg::blender_base<ColorT, Order>::set(value_type*, const agg::rgba&) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char]’
89 | p[order_type::R] = color_type::from_double(c.r);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./agg/include/agg_pixfmt_rgba.h:303:20: required from ‘static void agg::comp_op_rgba_clear<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
303 | set(p, get(p, cover_full - cover));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceCapture<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
capture_dev.cpp:21:36: required from here
21 | makeDevice<AggDeviceCaptureAlpha>(device, CHAR(STRING_ELT(name, 0)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
360 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c init.cpp -o init.o
In file included from ragg.h:15,
from init.cpp:9:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c jpeg_dev.cpp -o jpeg_dev.o
In file included from ragg.h:15,
from jpeg_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDeviceJpeg.h:4,
from jpeg_dev.cpp:4:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDeviceJpeg.h:22:14: required from ‘AggDeviceJpeg<PIXFMT>::AggDeviceJpeg(const char*, int, int, double, int, double, double, bool, int, int, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>]’
22 | method(meth)
| ^
jpeg_dev.cpp:25:5: required from here
25 | );
| ^
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pattern.h:9:
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba8T<agg::linear> >; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In instantiation of ‘void agg::image_filter_lut::calculate(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’:
./agg/include/agg_image_filters.h:78:22: required from ‘agg::image_filter_lut::image_filter_lut(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’
78 | calculate(filter, normalization);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rendering.h:46:27: required from ‘void render_raster(agg::rendering_buffer&, unsigned int, unsigned int, Raster&, RasterClip&, Scanline&, Interpolator, Render&, bool, bool, bool) [with Source = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Target = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; agg::rendering_buffer = agg::row_accessor<unsigned char>]’
46 | agg::image_filter_lut filter(filter_kernel, true);
| ^~~~~~
AggDevice.h:1370:46: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawRaster(unsigned int*, int, int, double, double, double, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1370 | render_raster<pixfmt_r_raster, BLNDFMT>(rbuf, w, h, ras, ras_clip, slu, interpolator, renderer, interpolate, current_clip != NULL, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:188:21: required from ‘void agg_raster(unsigned int*, int, int, double, double, double, double, double, Rboolean, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
188 | device->drawRaster(raster, w, h, x, y, width, height, rot, interpolate);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:475:16: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
475 | dd->raster = agg_raster<T>;
| ^~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:270:36: required from ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’
270 | unsigned cmd = v.vertex(x, y, m_dx, m_dy, m_scale);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:24:
./agg/include/agg_span_interpolator_linear.h: In instantiation of ‘void agg::span_interpolator_linear<Transformer, SubpixelShift>::begin(double, double, unsigned int) [with Transformer = agg::trans_affine; unsigned int SubpixelShift = 8]’:
./agg/include/agg_span_image_filter_rgba.h:59:44: required from ‘void agg::span_image_filter_rgba_nn<Source, Interpolator>::generate(color_type*, int, int, unsigned int) [with Source = agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; color_type = agg::rgba8T<agg::linear>]’
59 | base_type::interpolator().begin(x + base_type::filter_dx_dbl(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | y + base_type::filter_dy_dbl(), len);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:171:30: required from ‘void agg::render_scanline_aa(const Scanline&, BaseRenderer&, SpanAllocator&, SpanGenerator&) [with Scanline = scanline_u8; BaseRenderer = renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >; SpanAllocator = span_allocator<rgba8T<linear> >; SpanGenerator = span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> >]’
171 | span_gen.generate(colors, x, y, len);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:230:31: required from ‘void agg::renderer_scanline_aa<BaseRenderer, SpanAllocator, SpanGenerator>::render(const Scanline&) [with Scanline = agg::scanline_u8; BaseRenderer = agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SpanAllocator = agg::span_allocator<agg::rgba8T<agg::linear> >; SpanGenerator = agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> >]’
230 | render_scanline_aa(sl, *m_ren, *m_alloc, *m_span_gen);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:449:27: required from ‘void agg::render_scanlines(Rasterizer&, Scanline&, Renderer&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u8; Renderer = renderer_scanline_aa<renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_allocator<rgba8T<linear> >, span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> > >]’
449 | ren.render(sl);
| ~~~~~~~~~~^~~~
rendering.h:21:26: required from ‘void render(Raster&, RasterClip&, Scanline&, Render&, bool) [with ScanlineRes = agg::scanline_p8; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_scanline_aa<agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_allocator<agg::rgba8T<agg::linear> >, agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> > >]’
21 | agg::render_scanlines(ras, sl, renderer);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
group.h:73:29: required from ‘void Group<PIXFMT, color>::do_blend(int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
73 | render<agg::scanline_p8>(ras, ras_clip, sl, none_renderer, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1494:32: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1494 | recording_group->do_blend(MAX_CELLS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
62 | int x1 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | int y1 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | int x2 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | int y2 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static double agg::rgba8T<Colorspace>::to_double(value_type) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:422:42: required from ‘static void agg::comp_op_rgba_src_in<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
422 | double da = ColorT::to_double(p[Order::A]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
354 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static agg::rgba8T<Colorspace>::value_type agg::rgba8T<Colorspace>::from_double(double) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_base.h:89:55: required from ‘static void agg::blender_base<ColorT, Order>::set(value_type*, const agg::rgba&) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char]’
89 | p[order_type::R] = color_type::from_double(c.r);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./agg/include/agg_pixfmt_rgba.h:303:20: required from ‘static void agg::comp_op_rgba_clear<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
303 | set(p, get(p, cover_full - cover));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceJpeg<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
jpeg_dev.cpp:26:35: required from here
26 | makeDevice<AggDeviceJpegNoAlpha>(device, "agg_jpeg");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
360 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c png_dev.cpp -o png_dev.o
In file included from ragg.h:15,
from png_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDevicePng.h:8,
from png_dev.cpp:4:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDevicePng.h:16:59: required from ‘AggDevicePng<PIXFMT>::AggDevicePng(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>]’
16 | AggDevice<PIXFMT>(fp, w, h, ps, bg, res, scaling, snap)
| ^
png_dev.cpp:24:7: required from here
24 | );
| ^
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pattern.h:9:
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba8T<agg::linear> >; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba16>; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In instantiation of ‘void agg::image_filter_lut::calculate(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’:
./agg/include/agg_image_filters.h:78:22: required from ‘agg::image_filter_lut::image_filter_lut(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’
78 | calculate(filter, normalization);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rendering.h:46:27: required from ‘void render_raster(agg::rendering_buffer&, unsigned int, unsigned int, Raster&, RasterClip&, Scanline&, Interpolator, Render&, bool, bool, bool) [with Source = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Target = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; agg::rendering_buffer = agg::row_accessor<unsigned char>]’
46 | agg::image_filter_lut filter(filter_kernel, true);
| ^~~~~~
AggDevice.h:1370:46: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawRaster(unsigned int*, int, int, double, double, double, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1370 | render_raster<pixfmt_r_raster, BLNDFMT>(rbuf, w, h, ras, ras_clip, slu, interpolator, renderer, interpolate, current_clip != NULL, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:188:21: required from ‘void agg_raster(unsigned int*, int, int, double, double, double, double, double, Rboolean, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
188 | device->drawRaster(raster, w, h, x, y, width, height, rot, interpolate);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:475:16: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
475 | dd->raster = agg_raster<T>;
| ^~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:270:36: required from ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’
270 | unsigned cmd = v.vertex(x, y, m_dx, m_dy, m_scale);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:24:
./agg/include/agg_span_interpolator_linear.h: In instantiation of ‘void agg::span_interpolator_linear<Transformer, SubpixelShift>::begin(double, double, unsigned int) [with Transformer = agg::trans_affine; unsigned int SubpixelShift = 8]’:
./agg/include/agg_span_image_filter_rgba.h:59:44: required from ‘void agg::span_image_filter_rgba_nn<Source, Interpolator>::generate(color_type*, int, int, unsigned int) [with Source = agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; color_type = agg::rgba8T<agg::linear>]’
59 | base_type::interpolator().begin(x + base_type::filter_dx_dbl(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | y + base_type::filter_dy_dbl(), len);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:171:30: required from ‘void agg::render_scanline_aa(const Scanline&, BaseRenderer&, SpanAllocator&, SpanGenerator&) [with Scanline = scanline_u8; BaseRenderer = renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >; SpanAllocator = span_allocator<rgba8T<linear> >; SpanGenerator = span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> >]’
171 | span_gen.generate(colors, x, y, len);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:230:31: required from ‘void agg::renderer_scanline_aa<BaseRenderer, SpanAllocator, SpanGenerator>::render(const Scanline&) [with Scanline = agg::scanline_u8; BaseRenderer = agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SpanAllocator = agg::span_allocator<agg::rgba8T<agg::linear> >; SpanGenerator = agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> >]’
230 | render_scanline_aa(sl, *m_ren, *m_alloc, *m_span_gen);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:449:27: required from ‘void agg::render_scanlines(Rasterizer&, Scanline&, Renderer&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u8; Renderer = renderer_scanline_aa<renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_allocator<rgba8T<linear> >, span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> > >]’
449 | ren.render(sl);
| ~~~~~~~~~~^~~~
rendering.h:21:26: required from ‘void render(Raster&, RasterClip&, Scanline&, Render&, bool) [with ScanlineRes = agg::scanline_p8; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_scanline_aa<agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_allocator<agg::rgba8T<agg::linear> >, agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> > >]’
21 | agg::render_scanlines(ras, sl, renderer);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
group.h:73:29: required from ‘void Group<PIXFMT, color>::do_blend(int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
73 | render<agg::scanline_p8>(ras, ras_clip, sl, none_renderer, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1494:32: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1494 | recording_group->do_blend(MAX_CELLS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
62 | int x1 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | int y1 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | int x2 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | int y2 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static double agg::rgba8T<Colorspace>::to_double(value_type) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:422:42: required from ‘static void agg::comp_op_rgba_src_in<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
422 | double da = ColorT::to_double(p[Order::A]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
354 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba16; Order = agg::order_rgba; value_type = short unsigned int; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba16; Order = agg::order_rgba; value_type = short unsigned int; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba16; Order = agg::order_rgba; value_type = short unsigned int; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba16, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba16]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba16, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba16; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:51:40: required from here
51 | makeDevice<AggDevicePng16NoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static agg::rgba8T<Colorspace>::value_type agg::rgba8T<Colorspace>::from_double(double) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_base.h:89:55: required from ‘static void agg::blender_base<ColorT, Order>::set(value_type*, const agg::rgba&) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char]’
89 | p[order_type::R] = color_type::from_double(c.r);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./agg/include/agg_pixfmt_rgba.h:303:20: required from ‘static void agg::comp_op_rgba_clear<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
303 | set(p, get(p, cover_full - cover));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
png_dev.cpp:25:38: required from here
25 | makeDevice<AggDevicePngNoAlpha>(device, "agg_png");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
360 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ppm_dev.cpp -o ppm_dev.o
In file included from ragg.h:15,
from ppm_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDevicePpm.h:4,
from ppm_dev.cpp:4:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDevicePpm.h:11:57: required from ‘AggDevicePpm<PIXFMT>::AggDevicePpm(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>]’
11 | AggDevice<PIXFMT>(fp, w, h, ps, bg, res, scaling, snap)
| ^
ppm_dev.cpp:24:3: required from here
24 | );
| ^
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pattern.h:9:
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba8T<agg::linear> >; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In instantiation of ‘void agg::image_filter_lut::calculate(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’:
./agg/include/agg_image_filters.h:78:22: required from ‘agg::image_filter_lut::image_filter_lut(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’
78 | calculate(filter, normalization);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rendering.h:46:27: required from ‘void render_raster(agg::rendering_buffer&, unsigned int, unsigned int, Raster&, RasterClip&, Scanline&, Interpolator, Render&, bool, bool, bool) [with Source = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Target = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; agg::rendering_buffer = agg::row_accessor<unsigned char>]’
46 | agg::image_filter_lut filter(filter_kernel, true);
| ^~~~~~
AggDevice.h:1370:46: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawRaster(unsigned int*, int, int, double, double, double, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1370 | render_raster<pixfmt_r_raster, BLNDFMT>(rbuf, w, h, ras, ras_clip, slu, interpolator, renderer, interpolate, current_clip != NULL, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:188:21: required from ‘void agg_raster(unsigned int*, int, int, double, double, double, double, double, Rboolean, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
188 | device->drawRaster(raster, w, h, x, y, width, height, rot, interpolate);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:475:16: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
475 | dd->raster = agg_raster<T>;
| ^~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:270:36: required from ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’
270 | unsigned cmd = v.vertex(x, y, m_dx, m_dy, m_scale);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:24:
./agg/include/agg_span_interpolator_linear.h: In instantiation of ‘void agg::span_interpolator_linear<Transformer, SubpixelShift>::begin(double, double, unsigned int) [with Transformer = agg::trans_affine; unsigned int SubpixelShift = 8]’:
./agg/include/agg_span_image_filter_rgba.h:59:44: required from ‘void agg::span_image_filter_rgba_nn<Source, Interpolator>::generate(color_type*, int, int, unsigned int) [with Source = agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; color_type = agg::rgba8T<agg::linear>]’
59 | base_type::interpolator().begin(x + base_type::filter_dx_dbl(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | y + base_type::filter_dy_dbl(), len);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:171:30: required from ‘void agg::render_scanline_aa(const Scanline&, BaseRenderer&, SpanAllocator&, SpanGenerator&) [with Scanline = scanline_u8; BaseRenderer = renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >; SpanAllocator = span_allocator<rgba8T<linear> >; SpanGenerator = span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> >]’
171 | span_gen.generate(colors, x, y, len);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:230:31: required from ‘void agg::renderer_scanline_aa<BaseRenderer, SpanAllocator, SpanGenerator>::render(const Scanline&) [with Scanline = agg::scanline_u8; BaseRenderer = agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SpanAllocator = agg::span_allocator<agg::rgba8T<agg::linear> >; SpanGenerator = agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> >]’
230 | render_scanline_aa(sl, *m_ren, *m_alloc, *m_span_gen);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:449:27: required from ‘void agg::render_scanlines(Rasterizer&, Scanline&, Renderer&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u8; Renderer = renderer_scanline_aa<renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_allocator<rgba8T<linear> >, span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> > >]’
449 | ren.render(sl);
| ~~~~~~~~~~^~~~
rendering.h:21:26: required from ‘void render(Raster&, RasterClip&, Scanline&, Render&, bool) [with ScanlineRes = agg::scanline_p8; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_scanline_aa<agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_allocator<agg::rgba8T<agg::linear> >, agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> > >]’
21 | agg::render_scanlines(ras, sl, renderer);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
group.h:73:29: required from ‘void Group<PIXFMT, color>::do_blend(int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
73 | render<agg::scanline_p8>(ras, ras_clip, sl, none_renderer, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1494:32: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1494 | recording_group->do_blend(MAX_CELLS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
62 | int x1 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | int y1 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | int x2 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | int y2 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static double agg::rgba8T<Colorspace>::to_double(value_type) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:422:42: required from ‘static void agg::comp_op_rgba_src_in<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
422 | double da = ColorT::to_double(p[Order::A]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
354 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static agg::rgba8T<Colorspace>::value_type agg::rgba8T<Colorspace>::from_double(double) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_base.h:89:55: required from ‘static void agg::blender_base<ColorT, Order>::set(value_type*, const agg::rgba&) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char]’
89 | p[order_type::R] = color_type::from_double(c.r);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./agg/include/agg_pixfmt_rgba.h:303:20: required from ‘static void agg::comp_op_rgba_clear<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
303 | set(p, get(p, cover_full - cover));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDevicePpm<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ppm_dev.cpp:25:34: required from here
25 | makeDevice<AggDevicePpmNoAlpha>(device, "agg_ppm");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
360 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c record_dev.cpp -o record_dev.o
In file included from ragg.h:15,
from record_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDeviceRecord.h:4,
from record_dev.cpp:4:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDeviceRecord.h:14:11: required from ‘AggDeviceRecord<PIXFMT>::AggDeviceRecord(int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
14 | height(h)
| ^
record_dev.cpp:111:3: required from here
111 | );
| ^
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c tiff_dev.cpp -o tiff_dev.o
In file included from ragg.h:15,
from tiff_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDeviceTiff.h:4,
from tiff_dev.cpp:4:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDeviceTiff.h:24:17: required from ‘AggDeviceTiff<PIXFMT>::AggDeviceTiff(const char*, int, int, double, int, double, double, bool, int, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>]’
24 | encoding(enc)
| ^
tiff_dev.cpp:27:7: required from here
27 | );
| ^
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pattern.h:9:
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba8T<agg::linear> >; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba16>; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In instantiation of ‘void agg::image_filter_lut::calculate(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’:
./agg/include/agg_image_filters.h:78:22: required from ‘agg::image_filter_lut::image_filter_lut(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’
78 | calculate(filter, normalization);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rendering.h:46:27: required from ‘void render_raster(agg::rendering_buffer&, unsigned int, unsigned int, Raster&, RasterClip&, Scanline&, Interpolator, Render&, bool, bool, bool) [with Source = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Target = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; agg::rendering_buffer = agg::row_accessor<unsigned char>]’
46 | agg::image_filter_lut filter(filter_kernel, true);
| ^~~~~~
AggDevice.h:1370:46: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawRaster(unsigned int*, int, int, double, double, double, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1370 | render_raster<pixfmt_r_raster, BLNDFMT>(rbuf, w, h, ras, ras_clip, slu, interpolator, renderer, interpolate, current_clip != NULL, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:188:21: required from ‘void agg_raster(unsigned int*, int, int, double, double, double, double, double, Rboolean, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
188 | device->drawRaster(raster, w, h, x, y, width, height, rot, interpolate);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:475:16: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
475 | dd->raster = agg_raster<T>;
| ^~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba16, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:270:36: required from ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’
270 | unsigned cmd = v.vertex(x, y, m_dx, m_dy, m_scale);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba16; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba16]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:24:
./agg/include/agg_span_interpolator_linear.h: In instantiation of ‘void agg::span_interpolator_linear<Transformer, SubpixelShift>::begin(double, double, unsigned int) [with Transformer = agg::trans_affine; unsigned int SubpixelShift = 8]’:
./agg/include/agg_span_image_filter_rgba.h:59:44: required from ‘void agg::span_image_filter_rgba_nn<Source, Interpolator>::generate(color_type*, int, int, unsigned int) [with Source = agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; color_type = agg::rgba8T<agg::linear>]’
59 | base_type::interpolator().begin(x + base_type::filter_dx_dbl(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | y + base_type::filter_dy_dbl(), len);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:171:30: required from ‘void agg::render_scanline_aa(const Scanline&, BaseRenderer&, SpanAllocator&, SpanGenerator&) [with Scanline = scanline_u8; BaseRenderer = renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >; SpanAllocator = span_allocator<rgba8T<linear> >; SpanGenerator = span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> >]’
171 | span_gen.generate(colors, x, y, len);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:230:31: required from ‘void agg::renderer_scanline_aa<BaseRenderer, SpanAllocator, SpanGenerator>::render(const Scanline&) [with Scanline = agg::scanline_u8; BaseRenderer = agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SpanAllocator = agg::span_allocator<agg::rgba8T<agg::linear> >; SpanGenerator = agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> >]’
230 | render_scanline_aa(sl, *m_ren, *m_alloc, *m_span_gen);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:449:27: required from ‘void agg::render_scanlines(Rasterizer&, Scanline&, Renderer&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u8; Renderer = renderer_scanline_aa<renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_allocator<rgba8T<linear> >, span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> > >]’
449 | ren.render(sl);
| ~~~~~~~~~~^~~~
rendering.h:21:26: required from ‘void render(Raster&, RasterClip&, Scanline&, Render&, bool) [with ScanlineRes = agg::scanline_p8; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_scanline_aa<agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_allocator<agg::rgba8T<agg::linear> >, agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> > >]’
21 | agg::render_scanlines(ras, sl, renderer);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
group.h:73:29: required from ‘void Group<PIXFMT, color>::do_blend(int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
73 | render<agg::scanline_p8>(ras, ras_clip, sl, none_renderer, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1494:32: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1494 | recording_group->do_blend(MAX_CELLS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
62 | int x1 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | int y1 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | int x2 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | int y2 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static double agg::rgba8T<Colorspace>::to_double(value_type) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:422:42: required from ‘static void agg::comp_op_rgba_src_in<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
422 | double da = ColorT::to_double(p[Order::A]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
354 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba16; Order = agg::order_rgba; value_type = short unsigned int; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba16; Order = agg::order_rgba; value_type = short unsigned int; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba16, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba16; Order = agg::order_rgba; value_type = short unsigned int; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba16, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba16]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba16, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba16; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff16<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:58:41: required from here
58 | makeDevice<AggDeviceTiff16NoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static agg::rgba8T<Colorspace>::value_type agg::rgba8T<Colorspace>::from_double(double) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_base.h:89:55: required from ‘static void agg::blender_base<ColorT, Order>::set(value_type*, const agg::rgba&) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char]’
89 | p[order_type::R] = color_type::from_double(c.r);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./agg/include/agg_pixfmt_rgba.h:303:20: required from ‘static void agg::comp_op_rgba_clear<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
303 | set(p, get(p, cover_full - cover));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceTiff<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
tiff_dev.cpp:28:39: required from here
28 | makeDevice<AggDeviceTiffNoAlpha>(device, "agg_tiff");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
360 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba16, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba16; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba16, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c webp_anim_dev.cpp -o webp_anim_dev.o
In file included from ragg.h:15,
from webp_anim_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDeviceWebPAnim.h:11,
from webp_anim_dev.cpp:3:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDeviceWebPAnim.h:75:40: required from ‘AggDeviceWebPAnim<PIXFMT>::AggDeviceWebPAnim(const char*, int, int, double, int, double, double, bool, bool, int, int, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>]’
75 | mux(WebPMuxNew(), WebPMuxDelete) {
| ^
AggDeviceWebPAnim.h:197:16: required from here
197 | template class AggDeviceWebPAnim<pixfmt_type_24>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pattern.h:9:
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba8T<agg::linear> >; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In instantiation of ‘void agg::image_filter_lut::calculate(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’:
./agg/include/agg_image_filters.h:78:22: required from ‘agg::image_filter_lut::image_filter_lut(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’
78 | calculate(filter, normalization);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rendering.h:46:27: required from ‘void render_raster(agg::rendering_buffer&, unsigned int, unsigned int, Raster&, RasterClip&, Scanline&, Interpolator, Render&, bool, bool, bool) [with Source = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Target = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; agg::rendering_buffer = agg::row_accessor<unsigned char>]’
46 | agg::image_filter_lut filter(filter_kernel, true);
| ^~~~~~
AggDevice.h:1370:46: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawRaster(unsigned int*, int, int, double, double, double, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1370 | render_raster<pixfmt_r_raster, BLNDFMT>(rbuf, w, h, ras, ras_clip, slu, interpolator, renderer, interpolate, current_clip != NULL, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:188:21: required from ‘void agg_raster(unsigned int*, int, int, double, double, double, double, double, Rboolean, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
188 | device->drawRaster(raster, w, h, x, y, width, height, rot, interpolate);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:475:16: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
475 | dd->raster = agg_raster<T>;
| ^~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:270:36: required from ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’
270 | unsigned cmd = v.vertex(x, y, m_dx, m_dy, m_scale);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:24:
./agg/include/agg_span_interpolator_linear.h: In instantiation of ‘void agg::span_interpolator_linear<Transformer, SubpixelShift>::begin(double, double, unsigned int) [with Transformer = agg::trans_affine; unsigned int SubpixelShift = 8]’:
./agg/include/agg_span_image_filter_rgba.h:59:44: required from ‘void agg::span_image_filter_rgba_nn<Source, Interpolator>::generate(color_type*, int, int, unsigned int) [with Source = agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; color_type = agg::rgba8T<agg::linear>]’
59 | base_type::interpolator().begin(x + base_type::filter_dx_dbl(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | y + base_type::filter_dy_dbl(), len);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:171:30: required from ‘void agg::render_scanline_aa(const Scanline&, BaseRenderer&, SpanAllocator&, SpanGenerator&) [with Scanline = scanline_u8; BaseRenderer = renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >; SpanAllocator = span_allocator<rgba8T<linear> >; SpanGenerator = span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> >]’
171 | span_gen.generate(colors, x, y, len);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:230:31: required from ‘void agg::renderer_scanline_aa<BaseRenderer, SpanAllocator, SpanGenerator>::render(const Scanline&) [with Scanline = agg::scanline_u8; BaseRenderer = agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SpanAllocator = agg::span_allocator<agg::rgba8T<agg::linear> >; SpanGenerator = agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> >]’
230 | render_scanline_aa(sl, *m_ren, *m_alloc, *m_span_gen);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:449:27: required from ‘void agg::render_scanlines(Rasterizer&, Scanline&, Renderer&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u8; Renderer = renderer_scanline_aa<renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_allocator<rgba8T<linear> >, span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> > >]’
449 | ren.render(sl);
| ~~~~~~~~~~^~~~
rendering.h:21:26: required from ‘void render(Raster&, RasterClip&, Scanline&, Render&, bool) [with ScanlineRes = agg::scanline_p8; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_scanline_aa<agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_allocator<agg::rgba8T<agg::linear> >, agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> > >]’
21 | agg::render_scanlines(ras, sl, renderer);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
group.h:73:29: required from ‘void Group<PIXFMT, color>::do_blend(int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
73 | render<agg::scanline_p8>(ras, ras_clip, sl, none_renderer, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1494:32: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1494 | recording_group->do_blend(MAX_CELLS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
62 | int x1 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | int y1 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | int x2 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | int y2 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static double agg::rgba8T<Colorspace>::to_double(value_type) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:422:42: required from ‘static void agg::comp_op_rgba_src_in<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
422 | double da = ColorT::to_double(p[Order::A]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
354 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static agg::rgba8T<Colorspace>::value_type agg::rgba8T<Colorspace>::from_double(double) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_base.h:89:55: required from ‘static void agg::blender_base<ColorT, Order>::set(value_type*, const agg::rgba&) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char]’
89 | p[order_type::R] = color_type::from_double(c.r);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./agg/include/agg_pixfmt_rgba.h:303:20: required from ‘static void agg::comp_op_rgba_clear<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
303 | set(p, get(p, cover_full - cover));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebPAnim<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_anim_dev.cpp:27:41: required from here
27 | makeDevice<AggDeviceWebPAnimNoAlpha>(device, "agg_webp_anim");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
360 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c webp_dev.cpp -o webp_dev.o
In file included from ragg.h:15,
from webp_dev.cpp:1:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_color_gray.h:32,
from ./agg/include/agg_pixfmt_base.h:20,
from ./agg/include/agg_pixfmt_rgb.h:28,
from ragg.h:17:
./agg/include/agg_color_rgba.h: In static member function ‘static double agg::rgba16::to_double(value_type)’:
./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
746 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba16::value_type agg::rgba16::from_double(double)’:
./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
752 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In member function ‘agg::rgba16::self_type agg::rgba16::gradient(const self_type&, double) const’:
./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
947 | calc_type ik = uround(k * base_mask);
| ~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In static member function ‘static agg::rgba32::value_type agg::rgba32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type ‘agg::rgba32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
1186 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::luminance(const agg::rgba&)’:
./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
439 | return value_type(uround((0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b) * base_mask));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static double agg::gray16::to_double(value_type)’:
./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
547 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray16::value_type agg::gray16::from_double(double)’:
./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
553 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_color_gray.h: In member function ‘agg::gray16::self_type agg::gray16::gradient(self_type, double) const’:
./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gray16::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
708 | calc_type ik = uround(k * base_scale);
| ~~^~~~~~~~~~~~
./agg/include/agg_color_gray.h: In static member function ‘static agg::gray32::value_type agg::gray32::mult_cover(value_type, agg::cover_type)’:
./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type ‘agg::gray32::value_type’ {aka ‘float’} and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
958 | return value_type(a * b / cover_mask);
| ~~~~~~^~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In static member function ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type)’:
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:23,
from ./agg/include/agg_span_image_filter_rgba.h:28,
from rendering.h:11,
from AggDevice.h:4,
from AggDeviceWebP.h:8,
from webp_dev.cpp:3:
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h: In member function ‘void agg::span_image_filter<Source, Interpolator>::filter_offset(double, double)’:
./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_dx_int = iround(dx * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | m_dy_int = iround(dy * image_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31,
from text_renderer.h:12,
from AggDevice.h:5:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from text_renderer.h:17:
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
465 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘unsigned int agg::poly_container_reverse_adaptor<Container>::vertex(double*, double*)’:
./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
527 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from pattern.h:8,
from AggDevice.h:7:
./agg/include/agg_span_gradient.h: In constructor ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool)’:
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1() const’:
./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
75 | double d1() const { return double(m_d1) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2() const’:
./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
76 | double d2() const { return double(m_d2) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d1(double)’:
./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | void d1(double v) { m_d1 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::d2(double)’:
./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
83 | void d2(double v) { m_d2 = iround(v * gradient_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In constructor ‘agg::gradient_radial_focus::gradient_radial_focus(double, double, double)’:
./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
220 | m_r (iround(r * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | m_fx(iround(fx * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
222 | m_fy(iround(fy * gradient_subpixel_scale))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘void agg::gradient_radial_focus::init(double, double, double)’:
./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
230 | m_r = iround(r * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
231 | m_fx = iround(fx * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
232 | m_fy = iround(fy * gradient_subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::radius() const’:
./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
237 | double radius() const { return double(m_r) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_x() const’:
./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
238 | double focus_x() const { return double(m_fx) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In member function ‘double agg::gradient_radial_focus::focus_y() const’:
./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
239 | double focus_y() const { return double(m_fy) / gradient_subpixel_scale; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from AggDevice.h:12:
./agg/include/agg_ellipse.h: In member function ‘unsigned int agg::ellipse::vertex(double*, double*)’:
./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
AggDeviceWebP.h: In member function ‘bool AggDeviceWebP<PIXFMT>::savePage()’:
AggDeviceWebP.h:42:59: warning: ignoring attributes on template argument ‘int (*)(FILE*)’ [-Wignored-attributes]
42 | auto fd = std::unique_ptr<FILE, decltype(&std::fclose)>(
| ^
./agg/include/agg_path_storage.h: In instantiation of ‘unsigned int agg::poly_plain_adaptor<T>::vertex(double*, double*) [with T = double]’:
./agg/include/agg_path_storage.h:575:33: required from here
575 | return m_line.vertex(x, y);
| ~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
400 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h: In instantiation of ‘void agg::rasterizer_scanline_aa<Clip>::gamma(const GammaF&) [with GammaF = agg::gamma_power; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’:
./agg/include/agg_font_freetype.h:73:31: required from ‘void agg::font_engine_freetype_base::gamma(const GammaF&) [with GammaF = agg::gamma_power]’
73 | m_rasterizer.gamma(f);
| ~~~~~~~~~~~~~~~~~~^~~
text_renderer.h:150:23: required from ‘TextRenderer<PIXFMT>::TextRenderer() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
150 | get_engine().gamma(agg::gamma_power(1.6));
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:495:3: required from ‘AggDevice<PIXFMT, R_COLOR, BLNDFMT>::AggDevice(const char*, int, int, double, int, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
495 | t_ren(),
| ^~~~~~~
AggDeviceWebP.h:28:31: required from ‘AggDeviceWebP<PIXFMT>::AggDeviceWebP(const char*, int, int, double, int, double, double, bool, bool, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>]’
28 | lossy(los), quality(qual)
| ^
webp_dev.cpp:25:5: required from here
25 | );
| ^
./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~^~~~~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rasterizer_scanline_aa<>::aa_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
136 | m_gamma[i] = uround(gamma_function(double(i) / aa_mask) * aa_mask);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pattern.h:9:
./agg/include/agg_gradient_lut.h: In instantiation of ‘void agg::gradient_lut<ColorInterpolator, ColorLutSize>::build_lut() [with ColorInterpolator = agg::color_interpolator<agg::rgba8T<agg::linear> >; unsigned int ColorLutSize = 512]’:
pattern.h:103:23: required from ‘void Pattern<PIXFMT, color>::finish_gradient() [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
103 | gradient.build_lut();
| ~~~~~~~~~~~~~~~~~~^~
AggDevice.h:843:33: required from ‘SEXPREC* AggDevice<PIXFMT, R_COLOR, BLNDFMT>::createPattern(SEXP) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; SEXP = SEXPREC*]’
843 | new_pattern->finish_gradient();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
init_device.h:217:31: required from ‘SEXPREC* agg_setPattern(SEXP, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; SEXP = SEXPREC*; pDevDesc = _DevDesc*]’
217 | return device->createPattern(pattern);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
init_device.h:477:25: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
477 | dd->setPattern = agg_setPattern<T>;
| ^~~~~~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
212 | unsigned start = uround(m_color_profile[0].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
221 | end = uround(m_color_profile[i].offset * color_lut_size);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In instantiation of ‘void agg::image_filter_lut::calculate(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’:
./agg/include/agg_image_filters.h:78:22: required from ‘agg::image_filter_lut::image_filter_lut(const FilterF&, bool) [with FilterF = agg::image_filter_bilinear]’
78 | calculate(filter, normalization);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rendering.h:46:27: required from ‘void render_raster(agg::rendering_buffer&, unsigned int, unsigned int, Raster&, RasterClip&, Scanline&, Interpolator, Render&, bool, bool, bool) [with Source = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Target = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; agg::rendering_buffer = agg::row_accessor<unsigned char>]’
46 | agg::image_filter_lut filter(filter_kernel, true);
| ^~~~~~
AggDevice.h:1370:46: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawRaster(unsigned int*, int, int, double, double, double, double, double, bool) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1370 | render_raster<pixfmt_r_raster, BLNDFMT>(rbuf, w, h, ras, ras_clip, slu, interpolator, renderer, interpolate, current_clip != NULL, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:188:21: required from ‘void agg_raster(unsigned int*, int, int, double, double, double, double, double, Rboolean, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
188 | device->drawRaster(raster, w, h, x, y, width, height, rot, interpolate);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:475:16: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
475 | dd->raster = agg_raster<T>;
| ^~~~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_x>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_x, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_reflect_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_repeat_adaptor<agg::gradient_radial_focus>, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘class agg::span_gradient<agg::rgba8T<agg::linear>, agg::span_interpolator_linear<agg::trans_affine>, agg::gradient_radial_focus, agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512> >’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ and ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
51 | downscale_shift = interpolator_type::subpixel_shift -
| ~~~~~~~~~~~~~~~^
52 | gradient_subpixel_shift
| ~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:143:25: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
143 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_x>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:158:24: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
158 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_x; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:172:21: required from ‘void Pattern<PIXFMT, color>::draw_linear(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
172 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:110:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
110 | case PatternLinearGradient: draw_linear(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_reflect_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:208:25: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
208 | span_reflect_type span_reflect(span_interpolator,
| ^~~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_repeat_adaptor<agg::gradient_radial_focus>; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:223:24: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
223 | span_repeat_type span_repeat(span_interpolator,
| ^~~~~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h: In instantiation of ‘agg::span_gradient<ColorT, Interpolator, GradientF, ColorF>::span_gradient(interpolator_type&, GradientF&, ColorF&, double, double, bool) [with ColorT = agg::rgba8T<agg::linear>; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; GradientF = agg::gradient_radial_focus; ColorF = agg::gradient_lut<agg::color_interpolator<agg::rgba8T<agg::linear> >, 512>; interpolator_type = agg::span_interpolator_linear<agg::trans_affine>]’:
pattern.h:237:21: required from ‘void Pattern<PIXFMT, color>::draw_radial(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
237 | span_pad_type span_pad(span_interpolator,
| ^~~~~~~~
pattern.h:111:44: required from ‘void Pattern<PIXFMT, color>::draw(Raster&, RasterClip&, Scanline&, Render&, bool) [with Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
111 | case PatternRadialGradient: draw_radial(ras, ras_clip, sl, renderer, clip); break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:282:21: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::fillPattern(Raster&, Raster&, Pattern<BLNDFMT, R_COLOR>&) [with Raster = agg::rasterizer_scanline_aa<>; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
282 | pattern.draw(ras, ras_clip, sl, renderer, clip);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:352:20: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
352 | fillPattern(ras, ras_clip, *(pat_it->second));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
66 | m_d1(iround(d1 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::gradient_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
67 | m_d2(iround(d2 * gradient_subpixel_scale)),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:270:36: required from ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’
270 | unsigned cmd = v.vertex(x, y, m_dx, m_dy, m_scale);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::serialized_integer_path_adaptor<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_path_storage.h:725:43: required from ‘void agg::path_base<VertexContainer>::concat_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::serialized_integer_path_adaptor<int, 6> >; VertexContainer = agg::vertex_block_storage<double>]’
725 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
text_renderer.h:339:46: required from ‘void TextRenderer<PIXFMT>::plot_text(double, double, const char*, double, double, renderer_solid&, renderer&, scanline&, unsigned int, raster&, bool, agg::path_storage*) [with TARGET = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; renderer_solid = agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> > >; renderer = agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; raster = agg::rasterizer_scanline_aa<>; scanline = agg::scanline_u8; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; agg::path_storage = agg::path_base<agg::vertex_block_storage<double> >]’
339 | recording_clip->concat_path(curves);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
AggDevice.h:1451:40: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1451 | t_ren.template plot_text<BLNDFMT>(x, y, str, rot, hadj, solid_renderer, renderer, slu, device_id, ras_clip, current_clip != NULL, recording_path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ./agg/include/agg_span_image_filter.h:24:
./agg/include/agg_span_interpolator_linear.h: In instantiation of ‘void agg::span_interpolator_linear<Transformer, SubpixelShift>::begin(double, double, unsigned int) [with Transformer = agg::trans_affine; unsigned int SubpixelShift = 8]’:
./agg/include/agg_span_image_filter_rgba.h:59:44: required from ‘void agg::span_image_filter_rgba_nn<Source, Interpolator>::generate(color_type*, int, int, unsigned int) [with Source = agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; Interpolator = agg::span_interpolator_linear<agg::trans_affine>; color_type = agg::rgba8T<agg::linear>]’
59 | base_type::interpolator().begin(x + base_type::filter_dx_dbl(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | y + base_type::filter_dy_dbl(), len);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:171:30: required from ‘void agg::render_scanline_aa(const Scanline&, BaseRenderer&, SpanAllocator&, SpanGenerator&) [with Scanline = scanline_u8; BaseRenderer = renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >; SpanAllocator = span_allocator<rgba8T<linear> >; SpanGenerator = span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> >]’
171 | span_gen.generate(colors, x, y, len);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:230:31: required from ‘void agg::renderer_scanline_aa<BaseRenderer, SpanAllocator, SpanGenerator>::render(const Scanline&) [with Scanline = agg::scanline_u8; BaseRenderer = agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >; SpanAllocator = agg::span_allocator<agg::rgba8T<agg::linear> >; SpanGenerator = agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> >]’
230 | render_scanline_aa(sl, *m_ren, *m_alloc, *m_span_gen);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_renderer_scanline.h:449:27: required from ‘void agg::render_scanlines(Rasterizer&, Scanline&, Renderer&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u8; Renderer = renderer_scanline_aa<renderer_base<pixfmt_custom_blend_rgba<comp_op_adaptor_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_allocator<rgba8T<linear> >, span_image_filter_rgba_nn<image_accessor_clip<pixfmt_alpha_blend_rgba<blender_rgba_pre<rgba8T<linear>, order_rgba>, row_accessor<unsigned char> > >, span_interpolator_linear<trans_affine> > >]’
449 | ren.render(sl);
| ~~~~~~~~~~^~~~
rendering.h:21:26: required from ‘void render(Raster&, RasterClip&, Scanline&, Render&, bool) [with ScanlineRes = agg::scanline_p8; Raster = agg::rasterizer_scanline_aa<>; RasterClip = agg::rasterizer_scanline_aa<>; Scanline = agg::scanline_u8; Render = agg::renderer_scanline_aa<agg::renderer_base<agg::pixfmt_custom_blend_rgba<agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_allocator<agg::rgba8T<agg::linear> >, agg::span_image_filter_rgba_nn<agg::image_accessor_clip<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >, agg::span_interpolator_linear<agg::trans_affine> > >]’
21 | agg::render_scanlines(ras, sl, renderer);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
group.h:73:29: required from ‘void Group<PIXFMT, color>::do_blend(int) [with PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; color = agg::rgba8T<agg::linear>]’
73 | render<agg::scanline_p8>(ras, ras_clip, sl, none_renderer, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1494:32: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawText(double, double, const char*, const char*, int, double, double, double, int) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1494 | recording_group->do_blend(MAX_CELLS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
init_device.h:161:19: required from ‘void agg_text(double, double, const char*, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
161 | device->drawText(x, y, str, gc->fontfamily, gc->fontface, gc->ps * gc->cex,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | rot, hadj, gc->col);
| ~~~~~~~~~~~~~~~~~~~
init_device.h:459:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
459 | dd->text = agg_text<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
62 | int x1 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | int y1 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
68 | int x2 = iround(tx * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::span_interpolator_linear<agg::trans_affine>::subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | int y2 = iround(ty * subpixel_scale);
| ~~~^~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h: In instantiation of ‘static agg::rgba agg::blender_base<ColorT, Order>::get(value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:328:29: required from ‘static void agg::comp_op_rgba_src<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
328 | rgba s = get(r, g, b, a, cover);
| ~~~^~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::cover_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
57 | double x = double(cover) / cover_full;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static double agg::rgba8T<Colorspace>::to_double(value_type) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_rgba.h:422:42: required from ‘static void agg::comp_op_rgba_src_in<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
422 | double da = ColorT::to_double(p[Order::A]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_solid_hspan(int, int, unsigned int, const color_type&, const agg::int8u*) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>; agg::int8u = unsigned char]’
2477 | blend_pix(p, c, *covers++);
| ^~~~~~~~~
./agg/include/agg_renderer_base.h:294:37: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
354 | return double(a) / base_mask;
| ~~~~~~~~~~^~~~~~~~~~~
./agg/include/agg_color_rgba.h: In instantiation of ‘static agg::rgba8T<Colorspace>::value_type agg::rgba8T<Colorspace>::from_double(double) [with Colorspace = agg::linear; value_type = unsigned char]’:
./agg/include/agg_pixfmt_base.h:89:55: required from ‘static void agg::blender_base<ColorT, Order>::set(value_type*, const agg::rgba&) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char]’
89 | p[order_type::R] = color_type::from_double(c.r);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./agg/include/agg_pixfmt_rgba.h:303:20: required from ‘static void agg::comp_op_rgba_clear<ColorT, Order>::blend_pix(value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
303 | set(p, get(p, cover_full - cover));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1208:5: required from ‘void (* agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::g_comp_op_func [26])(agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type*, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::comp_op_table_rgba<agg::rgba8T<agg::linear>, agg::order_rgba>::value_type, agg::cover_type)’
1208 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[] =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:1344:62: required from ‘static void agg::comp_op_adaptor_rgba_pre<ColorT, Order>::blend_pix(unsigned int, value_type*, value_type, value_type, value_type, value_type, agg::cover_type) [with ColorT = agg::rgba8T<agg::linear>; Order = agg::order_rgba; value_type = unsigned char; agg::cover_type = unsigned char]’
1344 | comp_op_table_rgba<ColorT, Order>::g_comp_op_func[op](p, r, g, b, a, cover);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
./agg/include/agg_pixfmt_rgba.h:2290:32: required from ‘void agg::pixfmt_custom_blend_rgba<Blender, RenBuf>::blend_pix(pixel_type*, const color_type&, unsigned int) [with Blender = agg::comp_op_adaptor_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>; RenBuf = agg::row_accessor<unsigned char>; color_type = agg::rgba8T<agg::linear>]’
2290 | m_blender.blend_pix(m_comp_op, p->c, c.r, c.g, c.b, c.a, cover);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_pixfmt_rgba.h:2477:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
AggDevice.h:384:37: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::path_base<agg::vertex_block_storage<double> >; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
384 | render<agg::scanline_p8>(ras, ras_clip, slp, recording_raster->get_solid_renderer_blend(), current_clip != NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AggDevice.h:1235:12: required from ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawLine(double, double, double, double, int, double, int, R_GE_lineend) [with PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’
1235 | drawShape(ras, ras_clip, ps, false, true, 0, col, lwd, lty, lend);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:59:19: required from ‘void agg_line(double, double, double, double, pGEcontext, pDevDesc) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pGEcontext = R_GE_gcontext*; pDevDesc = _DevDesc*]’
59 | device->drawLine(x1, y1, x2, y2, gc->col, gc->lwd, gc->lty, gc->lend);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init_device.h:458:14: required from ‘DevDesc* agg_device_new(T*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >; pDevDesc = _DevDesc*]’
458 | dd->line = agg_line<T>;
| ^~~~~~~~~~~
init_device.h:551:37: required from ‘void makeDevice(T*, const char*, bool) [with T = AggDeviceWebP<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3> >]’
551 | pDevDesc dev = agg_device_new<T>(device, record);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
webp_dev.cpp:26:37: required from here
26 | makeDevice<AggDeviceWebPNoAlpha>(device, "agg_webp");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::rgba8T<agg::linear>::base_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
360 | return value_type(uround(a * base_mask));
| ~~^~~~~~~~~~~
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3>; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h: In member function ‘void AggDevice<PIXFMT, R_COLOR, BLNDFMT>::drawShape(Raster&, Raster&, Path&, bool, bool, int, int, double, int, R_GE_lineend, R_GE_linejoin, double, int, bool) [with Raster = agg::rasterizer_scanline_aa<>; Path = agg::ellipse; PIXFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >; R_COLOR = agg::rgba8T<agg::linear>; BLNDFMT = agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >]’:
./agg/include/agg_path_storage.h:722:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
./agg/include/agg_path_storage.h:722:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
722 | double x, y;
| ^
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c agg/src/agg_curves.cpp -o agg/src/agg_curves.o
In file included from ./agg/include/agg_array.h:20,
from ./agg/include/agg_curves.h:20,
from agg/src/agg_curves.cpp:17:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c agg/src/agg_font_freetype.cpp -o agg/src/agg_font_freetype.o
In file included from ./agg/include/agg_array.h:20,
from ./agg/include/agg_scanline_storage_aa.h:30,
from ./agg/include/agg_font_freetype.h:27,
from agg/src/agg_font_freetype.cpp:19:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_font_freetype.h:31:
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In member function ‘unsigned int agg::serialized_integer_path_adaptor<T, CoordShift>::vertex(double*, double*)’:
./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
265 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
276 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./agg/include/agg_rasterizer_scanline_aa.h:33,
from ./agg/include/agg_font_freetype.h:32:
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
38 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_sat::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_int_3x::upscale(double)’:
./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
69 | static int upscale(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
81 | static int xi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
82 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::xi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
95 | static int xi(double v) { return iround(v * poly_subpixel_scale * 3); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_rasterizer_sl_clip.h: In static member function ‘static int agg::ras_conv_dbl_3x::yi(double)’:
./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::poly_subpixel_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
96 | static int yi(double v) { return iround(v * poly_subpixel_scale); }
| ~~^~~~~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:182:40: required from ‘agg::rect_d agg::path_storage_integer<T, CoordShift>::bounding_rect() const [with T = int; unsigned int CoordShift = 6; agg::rect_d = agg::rect_base<double>]’
182 | m_storage[i].vertex(&x, &y);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~
agg/src/agg_font_freetype.cpp:1076:65: required from here
1076 | rect_d bnd = m_path32.bounding_rect();
| ~~~~~~~~~~~~~~~~~~~~~~^~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::vertex_integer<T, CoordShift>::vertex(double*, double*, double, double, double) const [with T = short int; unsigned int CoordShift = 6]’:
./agg/include/agg_path_storage_integer.h:182:40: required from ‘agg::rect_d agg::path_storage_integer<T, CoordShift>::bounding_rect() const [with T = short int; unsigned int CoordShift = 6; agg::rect_d = agg::rect_base<double>]’
182 | m_storage[i].vertex(&x, &y);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~
agg/src/agg_font_freetype.cpp:1097:65: required from here
1097 | rect_d bnd = m_path16.bounding_rect();
| ~~~~~~~~~~~~~~~~~~~~~~^~
./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<short int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
53 | *x_ = dx + (double(x >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::vertex_integer<short int, 6>::coord_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
54 | *y_ = dy + (double(y >> 1) / coord_scale) * scale;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*) [with T = int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::path_storage_integer<int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:167:43: required from ‘void agg::rasterizer_scanline_aa<Clip>::add_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::path_storage_integer<int, 6> >; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’
167 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
agg/src/agg_font_freetype.cpp:1124:46: required from here
1124 | m_rasterizer.add_path(m_curves32);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h: In instantiation of ‘unsigned int agg::path_storage_integer<T, CoordShift>::vertex(double*, double*) [with T = short int; unsigned int CoordShift = 6]’:
./agg/include/agg_conv_curve.h:162:40: required from ‘unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::path_storage_integer<short int, 6>; Curve3 = agg::curve3; Curve4 = agg::curve4]’
162 | unsigned cmd = m_source->vertex(x, y);
| ~~~~~~~~~~~~~~~~^~~~~~
./agg/include/agg_rasterizer_scanline_aa.h:167:43: required from ‘void agg::rasterizer_scanline_aa<Clip>::add_path(VertexSource&, unsigned int) [with VertexSource = agg::conv_curve<agg::path_storage_integer<short int, 6> >; Clip = agg::rasterizer_sl_clip<agg::ras_conv_int>]’
167 | while(!is_stop(cmd = vs.vertex(&x, &y)))
| ~~~~~~~~~^~~~~~~~
agg/src/agg_font_freetype.cpp:1133:46: required from here
1133 | m_rasterizer.add_path(m_curves16);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
153 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
161 | return path_cmd_end_poly | path_flags_close;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c agg/src/agg_image_filters.cpp -o agg/src/agg_image_filters.o
In file included from ./agg/include/agg_array.h:20,
from ./agg/include/agg_image_filters.h:23,
from agg/src/agg_image_filters.cpp:21:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
./agg/include/agg_image_filters.h: In member function ‘void agg::image_filter_lut::calculate(const FilterF&, bool)’:
./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘agg::image_filter_scale_e’ is deprecated [-Wdeprecated-enum-float-conversion]
63 | m_weight_array[pivot - i] = (int16)iround(y * image_filter_scale);
| ~~^~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c agg/src/agg_trans_affine.cpp -o agg/src/agg_trans_affine.o
In file included from ./agg/include/agg_trans_affine.h:23,
from agg/src/agg_trans_affine.cpp:19:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c agg/src/agg_vcgen_dash.cpp -o agg/src/agg_vcgen_dash.o
In file included from ./agg/include/agg_vcgen_dash.h:22,
from agg/src/agg_vcgen_dash.cpp:21:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I./agg/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/systemfonts/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/textshaping/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c agg/src/agg_vcgen_stroke.cpp -o agg/src/agg_vcgen_stroke.o
In file included from ./agg/include/agg_math.h:23,
from ./agg/include/agg_math_stroke.h:23,
from ./agg/include/agg_vcgen_stroke.h:19,
from agg/src/agg_vcgen_stroke.cpp:19:
./agg/include/agg_basics.h: In function ‘bool agg::is_close(unsigned int)’:
./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
450 | (path_cmd_end_poly | path_flags_close);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
agg/src/agg_vcgen_stroke.cpp: In member function ‘unsigned int agg::vcgen_stroke::vertex(double*, double*)’:
agg/src/agg_vcgen_stroke.cpp:198:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
198 | return path_cmd_end_poly | path_flags_close | path_flags_ccw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
agg/src/agg_vcgen_stroke.cpp:202:42: warning: bitwise operation between different enumeration types ‘agg::path_commands_e’ and ‘agg::path_flags_e’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | return path_cmd_end_poly | path_flags_close | path_flags_cw;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
ar rcs agg/libstatagg.a agg/src/agg_curves.o agg/src/agg_font_freetype.o agg/src/agg_image_filters.o agg/src/agg_trans_affine.o agg/src/agg_vcgen_dash.o agg/src/agg_vcgen_stroke.o
g++-15 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o ragg.so capture_dev.o init.o jpeg_dev.o png_dev.o ppm_dev.o record_dev.o tiff_dev.o webp_anim_dev.o webp_dev.o -Lagg -lstatagg -lfreetype -lpng16 -ltiff -ljpeg -lwebp -lwebpmux -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpJsf2F9/R.INSTALL28595f471b5a7c/ragg/src'
make[1]: Entering directory '/tmp/RtmpJsf2F9/R.INSTALL28595f471b5a7c/ragg/src'
make[1]: Leaving directory '/tmp/RtmpJsf2F9/R.INSTALL28595f471b5a7c/ragg/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-ragg/00new/ragg/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ragg)