Hello Alexei, > After I regenerated ftconfig.h with ./autogen.sh the warnings went > away for me. Do you still see it after ./autogen.sh?
That doesn't seem to work on windows. The warning is because of the ` FT_INTERNAL_FUNCTION_ATTRIBUTE' macro which is defined to __attribute__((visibility("hidden")). So defining it to nothing fixes all the warnings. ``` diff --git a/include/freetype/internal/compiler-macros.h b/include/freetype/internal/compiler-macros.h index b62c0777b..981a0ffaf 100644 --- a/include/freetype/internal/compiler-macros.h +++ b/include/freetype/internal/compiler-macros.h @@ -94,7 +94,9 @@ FT_BEGIN_HEADER * and faster code on ELF-based platforms. Place this before a function * declaration. */ -#if (defined(__GNUC__) && __GNUC__ >= 4) || defined(__clang__) +#if defined(_WIN32) +#define FT_INTERNAL_FUNCTION_ATTRIBUTE /* nothing */ +#elif (defined(__GNUC__) && __GNUC__ >= 4) || defined(__clang__) #define FT_INTERNAL_FUNCTION_ATTRIBUTE __attribute__((visibility("hidden"))) #else #define FT_INTERNAL_FUNCTION_ATTRIBUTE /* nothing */ ``` Anuj