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][4/4] Always 64bit-HWI cleanups


On Tue, 27 May 2014, Jakub Jelinek wrote:

> 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.

Though that's not likely as it would break existing and valid code.

Richard.


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