[SOLVED] error: conflicting types for 'FT_Get_Name_Index'
Posted: Fri Jul 31 2020 7:38 am
This is on FreeBSD, after I used the ugly symlink fix for -liconv.
Code: Select all
36%] Building C object src/gui/CMakeFiles/CsGui.dir/__/3rdparty/freetype/src/base/ftbase.c.o
In file included from /BUILD/COPPERSPICE/src/3rdparty/freetype/src/base/ftbase.c:29:
/BUILD/COPPERSPICE/src/3rdparty/freetype/src/base/ftobjs.c:3594:3: error: conflicting types for 'FT_Get_Name_Index'
FT_Get_Name_Index( FT_Face face,
^
/usr/local/include/freetype/freetype.h:3943:3: note: previous declaration is here
FT_Get_Name_Index( FT_Face face,
^
In file included from /BUILD/COPPERSPICE/src/3rdparty/freetype/src/base/ftbase.c:30:
/BUILD/COPPERSPICE/src/3rdparty/freetype/src/base/ftoutln.c:328:5: warning: implicit declaration of function 'FT_Outline_Done_Internal' is invalid in C99
[-Wimplicit-function-declaration]
FT_Outline_Done_Internal( memory, anoutline );
^
1 warning and 1 error generated.