On Sun, Jul 26, 2020 at 8:02 AM Anuj Verma <[email protected]> wrote: > > Hello, > > There are a couple of warnings in the win32 subsystem of the > freetype-2 demos. I have attached a patch to fix those. > > I can also see a lot of the below warning > ``` > src/base/ftsystem.c: In function 'FT_Stream_Open': > src/base/ftsystem.c:282:3: warning: visibility attribute not supported in > this configuration; ignored [-Wattributes] > } > ^ > ``` > I don't know what it is. I think it's specific to windows as I don't > see this on linux. I'm using GCC 8.3.0 and GNU Make 4.3 to > compile on windows.
it is related to FT_EXPORT in ftconfig.h are you compiling static library of freetype ? If you compile a shared library, you should not have this warning Vincent Torri
