freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft2-demos][win32] Compiler Warnings


From: Vincent Torri
Subject: Re: [ft2-demos][win32] Compiler Warnings
Date: Sun, 26 Jul 2020 10:04:34 +0200

On Sun, Jul 26, 2020 at 8:02 AM Anuj Verma <anujv@iitbhilai.ac.in> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]