-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels