This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fixincludes for darwin stdint.h


I thought there was some reason why I cast the thing.
The correct fix is to ensure that the casting type has
been defined when the macro gets used, not to remove
the cast.

I'm sorry, but I don't understand a word of this sentence. There is no cast involved (and there should be no cast involved).


The issue is that intmax_t and uintmax_t-related macros (as well as ptrdiff_t, apparently) are "long" in 64-bit, and not "long long" as is currently assumed. I don't know how I missed that (I thought I had regtested with -m64), and I apologise. I'm working on a complete fix for this issue.

Regards,
FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]