freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FreeType2 2.3.5 Visual Studio Solution Warnings


From: Werner LEMBERG
Subject: Re: [ft-devel] FreeType2 2.3.5 Visual Studio Solution Warnings
Date: Thu, 08 Nov 2007 09:51:17 +0100 (CET)

> I tried to compile the solution bundled with 2.3.5. The solution built
> without error, but with dozens of warnings such as the following:
>
> 1>c:\development\build\gnuwin32\src\freetype\2.3.5\freetype-2.3.5\src\tr
> uetype\ttinterp.c(772) : warning C4273: 'TT_New_Context' : inconsistent
> dll linkage
>
> 1>
> c:\development\build\gnuwin32\src\freetype\2.3.5\freetype-2.3.5\src\true
> type\ttinterp.h(262) : see previous definition of 'TT_New_Context'

You properly have to redefine FT_EXPORT and FT_EXPORT_DEF, I think, to
pass `__declspec(dllexport)' or something like this to the compiler.
However, I can't give any precise recipe since I don't use this
platform.

It would be great if the visual studio files could be updated to
handle this automatically.  However, I got the impression that this
already works...

Can someone shed light on this?


    Werner




reply via email to

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