Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail build with gcc 14.2.1 (?) #13

Open
sl1pkn07 opened this issue Oct 27, 2024 · 2 comments
Open

fail build with gcc 14.2.1 (?) #13

sl1pkn07 opened this issue Oct 27, 2024 · 2 comments

Comments

@sl1pkn07
Copy link

sl1pkn07 commented Oct 27, 2024

Hi, i get this when try to build this project in my archlinux

/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c -o libaggfontfreetype_la-agg_font_freetype.lo `test -f 'agg_font_freetype.cpp' || echo './'`agg_font_freetype.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c agg_font_freetype.cpp  -fPIC -DPIC -o .libs/libaggfontfreetype_la-agg_font_freetype.o
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:969:48:   required from here
  969 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  970 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  971 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  972 |                                                 m_path32))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<short int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:990:48:   required from here
  990 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  991 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  992 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  993 |                                                 m_path16))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
make[1]: *** [Makefile:449: libaggfontfreetype_la-agg_font_freetype.lo] Error 1
make[1]: se sale del directorio '/tmp/makepkg/agg-2.6-git/src/agg-2.6/agg-src/font_freetype'
make: *** [Makefile:504: all-recursive] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c -o libaggfontfreetype_la-agg_font_freetype.lo `test -f 'agg_font_freetype.cpp' || echo './'`agg_font_freetype.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c agg_font_freetype.cpp  -fPIC -DPIC -o .libs/libaggfontfreetype_la-agg_font_freetype.o
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:969:48:   required from here
  969 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  970 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  971 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  972 |                                                 m_path32))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<short int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:990:48:   required from here
  990 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  991 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  992 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  993 |                                                 m_path16))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
make[1]: *** [Makefile:449: libaggfontfreetype_la-agg_font_freetype.lo] Error 1
make[1]: se sale del directorio '/tmp/makepkg/agg-2.6-git/src/agg-2.6/agg-src/font_freetype'
make: *** [Makefile:504: all-recursive] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c -o libaggfontfreetype_la-agg_font_freetype.lo `test -f 'agg_font_freetype.cpp' || echo './'`agg_font_freetype.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c agg_font_freetype.cpp  -fPIC -DPIC -o .libs/libaggfontfreetype_la-agg_font_freetype.o
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:969:48:   required from here
  969 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  970 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  971 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  972 |                                                 m_path32))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<short int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:990:48:   required from here
  990 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  991 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  992 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  993 |                                                 m_path16))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
make[1]: *** [Makefile:449: libaggfontfreetype_la-agg_font_freetype.lo] Error 1
make[1]: se sale del directorio '/tmp/makepkg/agg-2.6-git/src/agg-2.6/agg-src/font_freetype'
make: *** [Makefile:504: all-recursive] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c -o libaggfontfreetype_la-agg_font_freetype.lo `test -f 'agg_font_freetype.cpp' || echo './'`agg_font_freetype.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c agg_font_freetype.cpp  -fPIC -DPIC -o .libs/libaggfontfreetype_la-agg_font_freetype.o
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:969:48:   required from here
  969 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  970 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  971 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  972 |                                                 m_path32))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<short int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:990:48:   required from here
  990 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  991 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  992 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  993 |                                                 m_path16))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
make[1]: *** [Makefile:449: libaggfontfreetype_la-agg_font_freetype.lo] Error 1
make[1]: se sale del directorio '/tmp/makepkg/agg-2.6-git/src/agg-2.6/agg-src/font_freetype'
make: *** [Makefile:504: all-recursive] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c -o libaggfontfreetype_la-agg_font_freetype.lo `test -f 'agg_font_freetype.cpp' || echo './'`agg_font_freetype.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c agg_font_freetype.cpp  -fPIC -DPIC -o .libs/libaggfontfreetype_la-agg_font_freetype.o
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:969:48:   required from here
  969 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  970 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  971 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  972 |                                                 m_path32))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<short int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:990:48:   required from here
  990 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  991 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  992 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  993 |                                                 m_path16))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
make[1]: *** [Makefile:449: libaggfontfreetype_la-agg_font_freetype.lo] Error 1
make[1]: se sale del directorio '/tmp/makepkg/agg-2.6-git/src/agg-2.6/agg-src/font_freetype'
make: *** [Makefile:504: all-recursive] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c -o libaggfontfreetype_la-agg_font_freetype.lo `test -f 'agg_font_freetype.cpp' || echo './'`agg_font_freetype.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/agg-2.6-git/src=/usr/src/debug/agg-2.6-git -flto=auto -c agg_font_freetype.cpp  -fPIC -DPIC -o .libs/libaggfontfreetype_la-agg_font_freetype.o
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:969:48:   required from here
  969 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  970 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  971 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  972 |                                                 m_path32))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<short int, 6>; FT_Outline = FT_Outline_]':
agg_font_freetype.cpp:990:48:   required from here
  990 |                         if(decompose_ft_outline(m_cur_face->glyph->outline,
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  991 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  992 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  993 |                                                 m_path16))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
make[1]: *** [Makefile:449: libaggfontfreetype_la-agg_font_freetype.lo] Error 1
make[1]: se sale del directorio '/tmp/makepkg/agg-2.6-git/src/agg-2.6/agg-src/font_freetype'
make: *** [Makefile:504: all-recursive] Error 1

gcc 14.2.1 and freetype2 2.13.3

greetings

@ghaerr
Copy link
Owner

ghaerr commented Oct 28, 2024

As the error output shows, have you tried adding -fpermissive to your command line so that the type conversion error is downgraded to a warning?

@bugcrazy
Copy link

bugcrazy commented Nov 2, 2024

This issue is fixed in revision 143: https://sourceforge.net/p/agg/svn/143/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants