--- agg-2.4/include/agg_renderer_outline_aa.h +++ agg-2.4/include/agg_renderer_outline_aa.h @@ -1365,7 +1365,7 @@ //--------------------------------------------------------------------- void profile(const line_profile_aa& prof) { m_profile = &prof; } const line_profile_aa& profile() const { return *m_profile; } - line_profile_aa& profile() { return *m_profile; } + //line_profile_aa& profile() { return *m_profile; } // unused, not accepted by LLVM/clang -ReneR //--------------------------------------------------------------------- int subpixel_width() const { return m_profile->subpixel_width(); } --- agg-2.4/include/agg_scanline_u.h +++ agg-2.4/include/agg_scanline_u.h @@ -458,7 +458,7 @@ class scanline32_u8_am : public scanline32_u8 { public: - typedef scanline_u8 base_type; + typedef scanline32_u8 base_type; typedef AlphaMask alpha_mask_type; typedef base_type::cover_type cover_type; typedef base_type::coord_type coord_type;