Werner LEMBERG wrote: >>> 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.
Oh, I'm sorry. I know this was not by you. Also I had no intention to complain to the contributor. Just I wanted to hear your comment to go right way. >> 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. OK, I will do so. Thank you for comment. Regards, mpsuzuki _______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
