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

Pedro Alves palves@redhat.com
Wed May 23 15:27:00 GMT 2012


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



More information about the Gdb-patches mailing list