[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FreeType Amalgamation
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] FreeType Amalgamation |
Date: |
Fri, 20 Jan 2012 07:32:25 +0100 (CET) |
>>Can you give an example? Perhaps we can rename macros if it is not
>>too cumbersome.
>
> An example is GET_PIC() macro defined by src/xxx/yyypic.h.
Aah, this is stuff written by a contributor, and which I've never had
the energy to fully integrate (including formatting) because it is
disabled by default. Apparently, only a single compiler, brew, needs
it.
> sfntpic.h defines as:
> #define GET_PIC(lib) ((sfntModulePIC*)((lib)->pic_container.sfnt))
> ttpic.h defines as:
> #define GET_PIC(lib) ((TTModulePIC*)((lib)->pic_container.truetype))
>
> To fix the compiler warning against the redefinition of same macro
> differently (during the compilation of concatenated source in PIC
> mode), some works are needed.
For this particular issue I suggest a module-specific prefix.
Werner
Re: [ft-devel] FreeType Amalgamation, Tom Bishop, Wenlin Institute, 2012/01/19
Re: [ft-devel] FreeType Amalgamation, Werner LEMBERG, 2012/01/20
Re: [ft-devel] FreeType Amalgamation, Antoine Leca, 2012/01/20