This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][4/4] Always 64bit-HWI cleanups
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 May 2014 08:35:48 +0200
- Subject: Re: [PATCH][4/4] Always 64bit-HWI cleanups
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnykNVd1UD+fkTfTsSb3AKWFFc4QFRz7iQgUobu6g4m3AmQ at mail dot gmail dot com> <f2d94717-1333-4dd0-acb7-3106c5f22f35 at email dot android dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, May 27, 2014 at 08:26:35AM +0200, Richard Biener wrote:
> >/nasfarm/edelsohn/src/src/gcc/cfg.c: In function 'void
> >dump_bb_info(FILE*, basic_block, int, int, bool, bool)':
> >/nasfarm/edelsohn/src/src/gcc/cfg.c:737:33: error: expected ')' before
> >'PRId64'
>
> This means aix has inttypes.h but not the standard mandated PRI?64 macros. Does it have stdint.h and therein int64_t?
>
> A possibility is to define the GCC fallbacks when the defines are not
> defined as opposed to only when inttypes.h is not available.
BTW, we should be prepared for C++11 udlit and use spaces around
the PRI* macros, in case some compiler treats those as udlits
unconditionally.
Jakub