Re: [ft-devel] enclosing FreeType in a C++ namespace

2015-07-09 Thread Werner LEMBERG
Hello Graham! > 3. Make FT_BEGIN_HEADER and FT_END_HEADER into the start and end of > the namespace: > > #define FT_BEGIN_HEADER namespace CartoType { > #define FT_END_HEADER } // namespace CartoType > > For this to work, I had to remove FT_BEGIN_HEADER and FT_END_HEADER > from pshalgo.h, becaus

[ft-devel] enclosing FreeType in a C++ namespace

2015-07-09 Thread Graham Asher
My product, CartoType, is sometimes supplied as a static C++ library, and lately I've had some problems reported by users who also link to other libraries containing conflicting versions of open-source components, including FreeType, Zlib, Libpng, Libjpeg, Expat, etc. One possible fix would be