freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] changing 'generic' variable name


From: Graham Asher
Subject: Re: [ft-devel] changing 'generic' variable name
Date: Fri, 19 Apr 2013 08:59:56 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1

I built FreeType for CLR code for a .NET project too a couple of years ago, and found another thing, if I remember aright: when you compile pure CLR code you can't use setjmp/longjmp, so I had to replace uses of those functions with returning error codes.

Graham Asher


On 19/04/2013 07:44, Werner LEMBERG wrote:
I am using Freetype in a C++/CLI (.NET) project.
Several spots in include/freetype/freetype.h have an FT_Generic
variable in a struct with the name 'generic'.   This is a reserved
keyword apparently in this environment.  I patched it locally to
just be called ft_generic instead in order to fix build errors.
This is the right way.

I know it's a niche issue but maybe you can change that to keep that
from happening to others out there.
No chance.  I can't change the public API.  Maybe you can suggest a
documentation patch so that C++/CLI users are warned?


     Werner
_______________________________________________
Freetype-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype-devel




reply via email to

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