#define generic GENERIC
#include <whatever.h>
#undef GENERIC
I have to do this all the time with Microsoft's include files too because
they
tend to define stuff that conflicts with other Open Source projects.
----- Original Message -----
From: "Philip Deets" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, July 17, 2006 9:28 PM
Subject: [ft] C++/CLI problems
I am trying to use freetype in a C++/CLI project.
To those of you who don't know, C++/CLI is a separate programming
language invented by Microsoft which has all of C++ plus support for
the cli (common language infrastructure, a.k.a. .net).
The problem is, in C++/CLI, generic is a keyword. This means the
headers don't work for me because there is a member of _FT_FaceRec_
with the name generic.
Does anyone know how I might be able to use FreeType when it uses a
keyword as an identifier? I am using Microsoft Visual Studio 2005
Professional Edition.
For now, I guess I'll edit the header.
Thank you,
Phil
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype