public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Yufeng Zhang <Yufeng.Zhang@arm.com>
To: "binutils@sourceware.org" <binutils@sourceware.org>
Subject: C99 macros
Date: Wed, 15 Aug 2012 17:47:00 -0000	[thread overview]
Message-ID: <502BD9C1.6080903@arm.com> (raw)

Hi,

It has been pointed out that the use of the C99 macros PRIi64 and PRIx64 
(in opcodes/aarch64-opc.c) may cause the build to fail in an environment 
where there is lack of C99 support.

I am considering to eliminate the dependency on this C99 feature by 
replacing PRIi64 and PRIx64 with some alternative approach in the 
AArch64 port.  Before doing that, I wonder what the general policy is 
about coding the binutils using C99 features.  Interestingly, I didn't 
find any other port includes the inttypes.h header file (not to say the 
use of PRIi64 and PRIx64).


Thanks,
Yufeng

             reply	other threads:[~2012-08-15 17:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15 17:47 Yufeng Zhang [this message]
2012-08-15 18:27 ` Mike Frysinger
2012-08-16 13:44   ` Richard Earnshaw
2012-08-21 19:20   ` Yufeng Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502BD9C1.6080903@arm.com \
    --to=yufeng.zhang@arm.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).