Useless pointer-to-int-cast warning?

Vincent Lefevre vincent+gcc@vinc17.org
Mon Sep 3 14:31:00 GMT 2018


On 2018-09-03 13:47:32 +0200, Vincent Lefevre wrote:
> On 2018-08-24 13:18:13 -0400, NightStrike wrote:
> > On what system do you have uintmax_t but not uintptr_t?  Is there one,
> > or is this just conjecture?
> 
> I don't know all the possible systems. Since this is allowed by
> the C standard, I assume that it's possible. Otherwise, why would
> uintptr_t be optional?

I've also found:

  https://bugs.launchpad.net/cuneiform-linux/+bug/781179
  "uintptr_t is not defined under MS VC++ 6"

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Gcc-help mailing list