<div dir="ltr">Ok let me take a look at this...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 12:40 AM, Perez Rodriguez, Humberto I <span dir="ltr"><<a href="mailto:humberto.i.perez.rodriguez@intel.com" target="_blank">humberto.i.perez.rodriguez@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Bryce:<br>
<br>
after install the newer version of freetype at 2.8.1-1 i have the<br>
following issue :(<br>
<br>
font-variations.c:53:5: error: unknown type name ‘FT_Face’<br>
     FT_Face ft_face;<br>
     ^<br>
font-variations.c:54:5: error: unknown type name ‘FT_MM_Var’<br>
     FT_MM_Var *ft_mm_var;<br>
     ^<br>
font-variations.c:55:5: error: unknown type name ‘FT_Error’<br>
     FT_Error ret;<br>
     ^<br>
font-variations.c:56:5: error: unknown type name ‘FT_Fixed’<br>
     FT_Fixed coords[20];<br>
     ^<br>
font-variations.c:57:18: warning: unused variable ‘i’ [-Wunused-<br>
variable]<br>
     unsigned int i;<br>
                  ^<br>
font-variations.c:56:14: warning: unused variable ‘coords’ [-Wunused-<br>
variable]<br>
     FT_Fixed coords[20];<br>
              ^<br>
font-variations.c:55:14: warning: unused variable ‘ret’ [-Wunused-<br>
variable]<br>
     FT_Error ret;<br>
              ^<br>
font-variations.c:54:16: warning: unused variable ‘ft_mm_var’ [-<br>
Wunused-variable]<br>
     FT_MM_Var *ft_mm_var;<br>
                ^<br>
font-variations.c:53:13: warning: unused variable ‘ft_face’ [-Wunused-<br>
variable]<br>
     FT_Face ft_face;<br>
             ^<br>
font-variations.c:51:20: warning: unused variable ‘status’ [-Wunused-<br>
variable]<br>
     cairo_status_t status;<br>
                    ^<br>
font-variations.c:50:27: warning: unused variable ‘options’ [-Wunused-<br>
variable]<br>
     cairo_font_options_t *options;<br>
                           ^<br>
font-variations.c:49:20: warning: unused variable ‘matrix’ [-Wunused-<br>
variable]<br>
     cairo_matrix_t matrix;<br>
                    ^<br>
font-variations.c:48:26: warning: unused variable ‘scaled_font’ [-<br>
Wunused-variable]<br>
     cairo_scaled_font_t *scaled_font;<br>
                          ^<br>
font-variations.c:47:24: warning: unused variable ‘font_face’ [-<br>
Wunused-variable]<br>
     cairo_font_face_t *font_face;<br>
                        ^<br>
  CC       cairo_test_suite-gradient-<wbr>zero-stops.o<br>
  CC       cairo_test_suite-gradient-<wbr>zero-stops-mask.o<br>
  CC       cairo_test_suite-group-clip.o<br>
Makefile:4370: recipe for target 'cairo_test_suite-font-<wbr>variations.o'<br>
failed<br>
make[4]: *** [cairo_test_suite-font-<wbr>variations.o] Error 1<br>
make[4]: *** Waiting for unfinished jobs....<br>
make[4]: Leaving directory '/home/gfx/intel-graphics/<wbr>cairo/test'<br>
Makefile:8372: recipe for target 'all-recursive' failed<br>
make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory '/home/gfx/intel-graphics/<wbr>cairo/test'<br>
Makefile:1733: recipe for target 'all' failed<br>
<span class="">make[2]: *** [all] Error 2<br>
</span>make[2]: Leaving directory '/home/gfx/intel-graphics/<wbr>cairo/test'<br>
<span class="">Makefile:910: recipe for target 'all-recursive' failed<br>
make[1]: *** [all-recursive] Error 1<br>
</span>make[1]: Leaving directory '/home/gfx/intel-graphics/<wbr>cairo'<br>
<span class="im HOEnZb">Makefile:759: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
</span><div class="HOEnZb"><div class="h5">On Tue, 2018-01-09 at 17:10 -0800, Bryce Harrington wrote:<br>
> [Adding Behdad and Matthias on CC]<br>
><br>
> On Fri, Jan 05, 2018 at 05:05:51PM +0000, Perez Rodriguez, Humberto I<br>
> wrote:<br>
> ><br>
> > Hi :<br>
> ><br>
> > I am having issues trying to compiling cairo with latest commit,<br>
> > someone can help please :)<br>
><br>
> The error message points at FT_Get_Var_Design_Coordinates as<br>
> undefined,<br>
> which is documented as being introduced at 2.7.1, but Cairo appears<br>
> to<br>
> be requiring 2.1.9.  Looks like a18c0dec and c32a5c74 added this<br>
> freetype API, and I also notice FT_Set_Var_Design_Coordinates is used<br>
> (and maybe others) - I'm not sure what freetype version provides<br>
> that,<br>
> possibly 2.8.1??<br>
><br>
> Am I interpreting this error correctly?<br>
><br>
> If so, easy workaround for you might be to install newer freetype.<br>
><br>
> However, for Cairo I wonder if this dependency change might be a<br>
> touch<br>
> too aggressive?  Looking at LTS supported versions, Ubuntu 14.04 has<br>
> only freetype 2.5.2, and 16.04 has 2.6.1.  I could see maybe dropping<br>
> 14.04 support (if we haven't already), but we're gonna need to<br>
> support<br>
> 16.04 for a few more years.<br>
><br>
> It happens that I plan to release Cairo 1.16.0 some time this year,<br>
> maybe in a few months.  What would folks think if we increase the<br>
> freetype requirement to just 2.5 or 2.6 for that release<br>
> (conditionalizing the use of the newer APIs), then when 1.17 opens<br>
> move<br>
> to freetype 2.7 or 2.8 (and drop the conditionals)?<br>
><br>
> Bryce<br>
><br>
> > make<br>
> > Makefile:1502: warning: overriding recipe for target 'recheck'<br>
> > Makefile:1140: warning: ignoring old recipe for target 'recheck'<br>
> > make  all-recursive<br>
> > make[1]: Entering directory '/home/gfx/cairo'<br>
> > Makefile:1502: warning: overriding recipe for target 'recheck'<br>
> > Makefile:1140: warning: ignoring old recipe for target 'recheck'<br>
> > Making all in src<br>
> > make[2]: Entering directory '/home/gfx/cairo/src'<br>
> >  cd .. && /bin/bash /home/gfx/cairo/build/missing automake-1.15 --<br>
> > foreign src/Makefile<br>
> > build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no<br>
> > AC_LANG_SOURCE call detected in body<br>
> > ../../lib/autoconf/lang.m4:<wbr>193: AC_LANG_CONFTEST is expanded<br>
> > from...<br>
> > ../../lib/autoconf/general.m4:<wbr>2601: _AC_COMPILE_IFELSE is expanded<br>
> > from...<br>
> > ../../lib/autoconf/general.m4:<wbr>2617: AC_COMPILE_IFELSE is expanded<br>
> > from...<br>
> > build/configure.ac.system:114: the top level<br>
> > src/Makefile.sources:365: warning: source file 'win32/cairo-win32-<br>
> > debug.c' is in a subdirectory,<br>
> > src/Makefile.sources:365: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > automake-1.15: warning: possible forward-incompatibility.<br>
> > automake-1.15: At least a source file is in a subdirectory, but the<br>
> > 'subdir-objects'<br>
> > automake-1.15: automake option hasn't been enabled.  For now, the<br>
> > corresponding output<br>
> > automake-1.15: object file(s) will be placed in the top-level<br>
> > directory.  However,<br>
> > automake-1.15: this behaviour will change in future Automake<br>
> > versions:<br>
> > they will<br>
> > automake-1.15: unconditionally cause object files to be placed in<br>
> > the<br>
> > same subdirectory<br>
> > automake-1.15: of the corresponding sources.<br>
> > automake-1.15: You are advised to start using 'subdir-objects'<br>
> > option<br>
> > throughout your<br>
> > automake-1.15: project, to avoid future incompatibilities.<br>
> > src/Makefile.sources:365: warning: source file 'win32/cairo-win32-<br>
> > device.c' is in a subdirectory,<br>
> > src/Makefile.sources:365: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:365: warning: source file 'win32/cairo-win32-<br>
> > gdi-<br>
> > compositor.c' is in a subdirectory,<br>
> > src/Makefile.sources:365: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:365: warning: source file 'win32/cairo-win32-<br>
> > system.c' is in a subdirectory,<br>
> > src/Makefile.sources:365: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:365: warning: source file 'win32/cairo-win32-<br>
> > surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:365: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:365: warning: source file 'win32/cairo-win32-<br>
> > display-surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:365: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:365: warning: source file 'win32/cairo-win32-<br>
> > printing-surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:365: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:374: warning: source file 'win32/cairo-win32-<br>
> > font.c' is in a subdirectory,<br>
> > src/Makefile.sources:374: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm.c' is<br>
> > in<br>
> > a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-bo.c'<br>
> > is<br>
> > in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
> > surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
> > intel.c'<br>
> > is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
</div></div><div class="HOEnZb"><div class="h5">> > intel-<br>
> > debug.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
> > intel-<br>
> > surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i915-<br>
> > surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i915-<br>
> > glyphs.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i915-<br>
> > shader.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i915-<br>
> > spans.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i965-<br>
> > surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i965-<br>
> > glyphs.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i965-<br>
> > shader.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-i965-<br>
> > spans.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
> > intel-<br>
> > brw-eu.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
> > intel-<br>
> > brw-eu-emit.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
> > intel-<br>
> > brw-eu-util.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
> > radeon.c'<br>
</div></div><span class="im HOEnZb">> > is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:440: warning: source file 'drm/cairo-drm-<br>
</span><div class="HOEnZb"><div class="h5">> > radeon-<br>
> > surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:440: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:459: warning: source file 'drm/cairo-drm-<br>
> > gallium-<br>
> > surface.c' is in a subdirectory,<br>
> > src/Makefile.sources:459: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:380: warning: source file 'skia/cairo-skia-<br>
> > context.cpp' is in a subdirectory,<br>
> > src/Makefile.sources:380: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> > src/Makefile.sources:380: warning: source file 'skia/cairo-skia-<br>
> > surface.cpp' is in a subdirectory,<br>
> > src/Makefile.sources:380: but option 'subdir-objects' is disabled<br>
> > src/Makefile.am:4:   'src/Makefile.am.features' included from here<br>
> > src/Makefile.am.features:3:   'src/Makefile.sources' included from<br>
> > here<br>
> >  cd .. && /bin/bash ./config.status src/Makefile depfiles<br>
> > config.status: creating src/Makefile<br>
> > config.status: executing depfiles commands<br>
> > make  all-am<br>
> > make[3]: Entering directory '/home/gfx/cairo/src'<br>
> >   CC       cairo-analysis-surface.lo<br>
> >   CC       cairo-arc.lo<br>
> >   CC       cairo-array.lo<br>
> >   CC       cairo-atomic.lo<br>
> >   CC       cairo-base64-stream.lo<br>
> >   CC       cairo-base85-stream.lo<br>
> >   CC       cairo-bentley-ottmann-<wbr>rectangular.lo<br>
> >   CC       cairo-bentley-ottmann-<wbr>rectilinear.lo<br>
> >   CC       cairo-bentley-ottmann.lo<br>
> >   CC       cairo-botor-scan-converter.lo<br>
> > cairo-bentley-ottmann-<wbr>rectangular.c: In function<br>
> > ‘_cairo_bentley_ottmann_<wbr>tessellate_rectangular’:<br>
> > cairo-bentley-ottmann-<wbr>rectangular.c:606:18: warning: variable<br>
> > ‘update’<br>
> > might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]<br>
> >      cairo_bool_t update = FALSE;<br>
> >                   ^~~~~~<br>
> >   CC       cairo-boxes-intersect.lo<br>
> >   CC       cairo-boxes.lo<br>
> >   CC       cairo-cache.lo<br>
> >   CC       cairo-clip-boxes.lo<br>
> >   CC       cairo-clip-polygon.lo<br>
> >   CC       cairo-clip-region.lo<br>
> >   CC       cairo-clip-surface.lo<br>
> >   CC       cairo-clip-tor-scan-converter.<wbr>lo<br>
> >   CC       cairo-clip.lo<br>
> >   CC       cairo-color.lo<br>
> >   CC       cairo-composite-rectangles.lo<br>
> >   CC       cairo-compositor.lo<br>
> >   CC       cairo-contour.lo<br>
> >   CC       cairo-damage.lo<br>
> >   CC       cairo-debug.lo<br>
> >   CC       cairo-default-context.lo<br>
> >   CC       cairo-device.lo<br>
> >   CC       cairo-error.lo<br>
> >   CC       cairo-fallback-compositor.lo<br>
> >   CC       cairo-fixed.lo<br>
> >   CC       cairo-font-face-twin-data.lo<br>
> >   CC       cairo-font-face-twin.lo<br>
> >   CC       cairo-font-face.lo<br>
> >   CC       cairo-font-options.lo<br>
> >   CC       cairo-freed-pool.lo<br>
> >   CC       cairo-freelist.lo<br>
> >   CC       cairo-gstate.lo<br>
> >   CC       cairo-hash.lo<br>
> >   CC       cairo-hull.lo<br>
> >   CC       cairo-image-compositor.lo<br>
> >   CC       cairo-image-info.lo<br>
> >   CC       cairo-image-source.lo<br>
> >   CC       cairo-image-surface.lo<br>
> >   CC       cairo-line.lo<br>
> >   CC       cairo-lzw.lo<br>
> >   CC       cairo-mask-compositor.lo<br>
> >   CC       cairo-matrix.lo<br>
> >   CC       cairo-mempool.lo<br>
> >   CC       cairo-mesh-pattern-rasterizer.<wbr>lo<br>
> >   CC       cairo-misc.lo<br>
> >   CC       cairo-mono-scan-converter.lo<br>
> > cairo-misc.c: In function ‘get_C_locale’:<br>
> > cairo-misc.c:806:43: warning: passing argument 1 of<br>
> > ‘_cairo_atomic_ptr_get’ from incompatible pointer type [-<br>
> > Wincompatible-<br>
> > pointer-types]<br>
> >      C = (locale_t) _cairo_atomic_ptr_get (&C_locale);<br>
> >                                            ^<br>
> > In file included from cairo-reference-count-private.<wbr>h:40:0,<br>
> >                  from cairo-types-private.h:45,<br>
> >                  from cairo-error-private.h:43,<br>
> >                  from cairoint.h:74,<br>
> >                  from cairo-misc.c:41:<br>
> > cairo-atomic-private.h:93:1: note: expected ‘void **’ but argument<br>
> > is<br>
> > of type ‘struct __locale_struct **’<br>
> >  _cairo_atomic_ptr_get (void **x)<br>
> >  ^~~~~~~~~~~~~~~~~~~~~<br>
> > cairo-misc.c:811:41: warning: passing argument 1 of<br>
> > ‘_cairo_atomic_ptr_cmpxchg_<wbr>impl’ from incompatible pointer type [-<br>
> > Wincompatible-pointer-types]<br>
> >          if (!_cairo_atomic_ptr_cmpxchg (&C_locale, NULL, C)) {<br>
> >                                          ^<br>
> > cairo-atomic-private.h:145:34: note: in definition of macro<br>
> > ‘_cairo_atomic_ptr_cmpxchg’<br>
> >    _cairo_atomic_ptr_cmpxchg_<wbr>impl(x, oldv, newv)<br>
> >                                   ^<br>
> > cairo-atomic-private.h:138:1: note: expected ‘void **’ but argument<br>
> > is<br>
> > of type ‘struct __locale_struct **’<br>
> >  _cairo_atomic_ptr_cmpxchg_<wbr>impl(void **x, void *oldv, void *newv)<br>
> >  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> >   CC       cairo-mutex.lo<br>
> >   CC       cairo-no-compositor.lo<br>
> >   CC       cairo-observer.lo<br>
> >   CC       cairo-output-stream.lo<br>
> >   CC       cairo-paginated-surface.lo<br>
> >   CC       cairo-path-bounds.lo<br>
> >   CC       cairo-path-fill.lo<br>
> >   CC       cairo-path-fixed.lo<br>
> >   CC       cairo-path-in-fill.lo<br>
> >   CC       cairo-path-stroke-boxes.lo<br>
> >   CC       cairo-path-stroke-polygon.lo<br>
> >   CC       cairo-path-stroke-traps.lo<br>
> >   CC       cairo-path-stroke-tristrip.lo<br>
> >   CC       cairo-path-stroke.lo<br>
> >   CC       cairo-path.lo<br>
> >   CC       cairo-pattern.lo<br>
> >   CC       cairo-pen.lo<br>
> >   CC       cairo-polygon-intersect.lo<br>
> >   CC       cairo-polygon-reduce.lo<br>
> >   CC       cairo-polygon.lo<br>
> >   CC       cairo-raster-source-pattern.lo<br>
> >   CC       cairo-recording-surface.lo<br>
> >   CC       cairo-rectangle.lo<br>
> >   CC       cairo-rectangular-scan-<wbr>converter.lo<br>
> >   CC       cairo-region.lo<br>
> >   CC       cairo-rtree.lo<br>
> >   CC       cairo-scaled-font.lo<br>
> >   CC       cairo-shape-mask-compositor.lo<br>
> >   CC       cairo-slope.lo<br>
> >   CC       cairo-spans-compositor.lo<br>
> >   CC       cairo-spans.lo<br>
> >   CC       cairo-spline.lo<br>
> >   CC       cairo-stroke-dash.lo<br>
> >   CC       cairo-stroke-style.lo<br>
> >   CC       cairo-surface-clipper.lo<br>
> >   CC       cairo-surface-fallback.lo<br>
> >   CC       cairo-surface-observer.lo<br>
> >   CC       cairo-surface-offset.lo<br>
> >   CC       cairo-surface-snapshot.lo<br>
> >   CC       cairo-surface-subsurface.lo<br>
> >   CC       cairo-surface-wrapper.lo<br>
> >   CC       cairo-surface.lo<br>
> >   CC       cairo-time.lo<br>
> >   CC       cairo-tor-scan-converter.lo<br>
> >   CC       cairo-tor22-scan-converter.lo<br>
> >   CC       cairo-toy-font-face.lo<br>
> >   CC       cairo-traps-compositor.lo<br>
> >   CC       cairo-traps.lo<br>
> >   CC       cairo-tristrip.lo<br>
> >   CC       cairo-unicode.lo<br>
> >   CC       cairo-user-font.lo<br>
> >   CC       cairo-version.lo<br>
> >   CC       cairo-wideint.lo<br>
> >   CC       cairo.lo<br>
> >   CC       cairo-cff-subset.lo<br>
> >   CC       cairo-scaled-font-subsets.lo<br>
> >   CC       cairo-truetype-subset.lo<br>
> >   CC       cairo-type1-fallback.lo<br>
> >   CC       cairo-type1-glyph-names.lo<br>
> >   CC       cairo-type1-subset.lo<br>
> >   CC       cairo-type3-glyph-surface.lo<br>
> >   CC       cairo-pdf-operators.lo<br>
> >   CC       cairo-pdf-shading.lo<br>
> >   CC       cairo-tag-attributes.lo<br>
> >   CC       cairo-deflate-stream.lo<br>
> >   CC       cairo-xlib-display.lo<br>
> >   CC       cairo-xlib-core-compositor.lo<br>
> >   CC       cairo-xlib-fallback-<wbr>compositor.lo<br>
> >   CC       cairo-xlib-render-compositor.<wbr>lo<br>
> >   CC       cairo-xlib-screen.lo<br>
> >   CC       cairo-xlib-source.lo<br>
> >   CC       cairo-xlib-surface.lo<br>
> >   CC       cairo-xlib-surface-shm.lo<br>
> >   CC       cairo-xlib-visual.lo<br>
> >   CC       cairo-xlib-xcb-surface.lo<br>
> >   CC       cairo-xcb-connection.lo<br>
> >   CC       cairo-xcb-connection-core.lo<br>
> >   CC       cairo-xcb-connection-render.lo<br>
> >   CC       cairo-xcb-connection-shm.lo<br>
> >   CC       cairo-xcb-screen.lo<br>
> >   CC       cairo-xcb-shm.lo<br>
> >   CC       cairo-xcb-surface.lo<br>
> >   CC       cairo-xcb-surface-core.lo<br>
> >   CC       cairo-xcb-surface-render.lo<br>
> >   CC       cairo-xcb-resources.lo<br>
> >   CC       cairo-png.lo<br>
> >   CC       cairo-script-surface.lo<br>
> >   CC       cairo-ft-font.lo<br>
> > cairo-png.c: In function ‘read_png’:<br>
> > cairo-png.c:550:15: warning: variable ‘data’ might be clobbered by<br>
> > ‘longjmp’ or ‘vfork’ [-Wclobbered]<br>
> >      png_byte *data = NULL;<br>
> >                ^~~~<br>
> > cairo-png.c:551:16: warning: variable ‘row_pointers’ might be<br>
> > clobbered<br>
> > by ‘longjmp’ or ‘vfork’ [-Wclobbered]<br>
> >      png_byte **row_pointers = NULL;<br>
> >                 ^~~~~~~~~~~~<br>
> > cairo-ft-font.c: In function ‘_cairo_ft_unscaled_font_init’<wbr>:<br>
> > cairo-ft-font.c:460:7: error: implicit declaration of function<br>
> > ‘FT_Get_Var_Design_<wbr>Coordinates’ [-Werror=implicit-function-<br>
> > declaration]<br>
> >        FT_Get_Var_Design_Coordinates (face, ft_mm_var->num_axis,<br>
> > unscaled->variations);<br>
> >        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> > cairo-ft-font.c: In function ‘_cairo_ft_has_color_glyphs’:<br>
> > cairo-ft-font.c:3003:9: warning: ignoring return value of<br>
> > ‘_cairo_ft_unscaled_font_lock_<wbr>face’, declared with attribute<br>
> > warn_unused_result [-Wunused-result]<br>
> >          _cairo_ft_unscaled_font_lock_<wbr>face (unscaled);<br>
> >          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~<br>
> >   CC       cairo-ps-surface.lo<br>
> > cc1: some warnings being treated as errors<br>
> > Makefile:2376: recipe for target 'cairo-ft-font.lo' failed<br>
> > make[3]: *** [cairo-ft-font.lo] Error 1<br>
> > make[3]: *** Waiting for unfinished jobs....<br>
> > make[3]: Leaving directory '/home/gfx/cairo/src'<br>
> > Makefile:1973: recipe for target 'all' failed<br>
> > make[2]: *** [all] Error 2<br>
> > make[2]: Leaving directory '/home/gfx/cairo/src'<br>
> > Makefile:910: recipe for target 'all-recursive' failed<br>
> > make[1]: *** [all-recursive] Error 1<br>
> > make[1]: Leaving directory '/home/gfx/cairo'<br>
> > Makefile:759: recipe for target 'all' failed<br>
> > make: *** [all] Error 2<br>
> ><br>
> ><br>
> ><br>
> > Cheers<br>
><br>
><br>
><br>
> > --<br>
> > cairo mailing list<br>
> > <a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
> > <a href="https://lists.cairographics.org/mailman/listinfo/cairo" rel="noreferrer" target="_blank">https://lists.cairographics.<wbr>org/mailman/listinfo/cairo</a><br>
><br>
> </div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div>
</div>