Hi Bruno, On 27.10.19 19:56, Bruno Haible wrote:
I have applied the 3 parts of your series that were good, and fixed the remaining problems. Indeed, the problems with the overload conflicts (in cl_combine, fprintdecimal, fprinthexadecimal) that are caused by the fact that intptr_t may be 'int', may be 'long', may be 'long long', were hardest to resolve. I chose not to introduce platform-dependent #ifs (too hairy to maintain), nor an autoconf test (because the include files are supposed to be usable by different compilers, and different compilers may define intptr_t differently), but instead use an inline function redirection.
If I'm not mistaken, all this should not have broken the ABI on platforms that were already supported, right? (I'm asking because of the soname: That inline function redirection makes a symbol disappear. But that would be easy to fix.) -richy.