Re: New ARI warning Wed May 23 01:55:03 UTC 2012

Pedro Alves
2012-05-23T15:27:04Z

On 05/23/2012 04:01 PM, Doug Evans wrote:

> For reference sake,
> An alternative is to use {,u}int64_t, does ARI have any rule on them?

If there is, it's outdated. We pick up stdint.h/inttypes.h from gnulib, so
those types are now available on all hosts. If not, it's a gnulib problem.
I suggest to use those types, because libiberty itself has recently
began assuming uintptr_t through either stdint.h or inttypes.h is available.

<http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00292.html>

I see no reason to consider 128 types in a libiberty header/interface at
this point. It'll be a long while (decades?) before that could be
considered portable.

> It's been in use in at least findcmd.c since gdb 7.0 [IIUC]
> (perhaps errantly, but nevertheless ...).

--
Pedro Alves