>>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

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to