public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "skunk at iskunk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/53348] Conflicting fast-integer types on AIX: <sys/inttypes.h> vs. gcc/config/rs6000/aix-stdint.h
Date: Tue, 15 May 2012 19:09:00 -0000	[thread overview]
Message-ID: <bug-53348-4-qv7mUWT5Sd@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53348-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53348

--- Comment #6 from Daniel Richard G. <skunk at iskunk dot org> 2012-05-15 19:01:45 UTC ---
My first thought had been to put in AIX-version-dependent cpp conditionals in
aix-stdint.h, but admittedly, that would have been an ugly way to go.

I have an AIX 5.3 system here as well. There is no sys/inttypes.h, but
[u]int_fastNN_t is defined in sys/stdint.h, and all the types are the same size
as [u]intNN_t. This is presumably the case for newer AIXes as well.

Fixincluding sys/inttypes.h should be safe IMO, and any bad fallout from that
should be limited to AIX releases that still have this header, and use the
unequal-sized-types, and somehow depend on those types. I'll double-check that
this isn't the case for 4.3.


  parent reply	other threads:[~2012-05-15 19:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 18:08 [Bug bootstrap/53348] New: " skunk at iskunk dot org
2012-05-14 22:53 ` [Bug bootstrap/53348] " skunk at iskunk dot org
2012-05-14 23:25 ` skunk at iskunk dot org
2012-05-15 13:49 ` dje at gcc dot gnu.org
2012-05-15 17:41 ` skunk at iskunk dot org
2012-05-15 18:07 ` dje at gcc dot gnu.org
2012-05-15 19:09 ` skunk at iskunk dot org [this message]
2012-07-17 23:24 ` skunk at iskunk dot org
2015-02-07  1:13 ` dje at gcc dot gnu.org
2015-02-07  2:55 ` dje at gcc dot gnu.org
2015-02-16 15:29 ` dje at gcc dot gnu.org
2015-02-16 15:33 ` dje at gcc dot gnu.org
2015-02-17  6:40 ` skunk at iskunk dot org
2015-02-17 14:50 ` dje at gcc dot gnu.org
2015-02-17 16:33 ` skunk at iskunk dot org

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=bug-53348-4-qv7mUWT5Sd@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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).