public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dave Korn <dave.korn.cygwin@googlemail.com>
To: FX <fxcoudert@gmail.com>
Cc: gcc@gcc.gnu.org, dave.korn.cygwin@googlemail.com,
	  "Joseph S. Myers" <joseph@codesourcery.com>
Subject: Re: stdint.h type information needed
Date: Fri, 03 Apr 2009 11:50:00 -0000	[thread overview]
Message-ID: <49D5F6DB.1040505@gmail.com> (raw)
In-Reply-To: <222FA4A0-174C-428D-8EF1-C9160FB4F00A@gmail.com>

FX wrote:
>>> for some reason identifier_global_value() on it returns NULL.
>> ... and this is presumably because it should have /already/ been
> declared somehow.
> 
> I have exactly the same issue on darwin, it segfaults on:
> 
>>   char16_type_node = TREE_TYPE (identifier_global_value
>> (char16_type_node));
> 
> because identifier_global_value (char16_type_node) is NULL. The patch I
> use is attached. Joseph, could you help us to proceed further?

  LOL, I forgot to attach mine didn't I?  It's basically the same, I copied
and pasted the newlib version and tweaked a couple of the definitions so they
were identical to Cygwin's stdint.h.  I suspect we're simply missing some
needed definition somewhere, so I won't send mine now you've sent yours.

  Neither adding /usr/include/uchar.h, nor defining char{16,32}_t in
/usr/include/stdint.h fixed this for me.

    cheers,
      DaveK



  reply	other threads:[~2009-04-03 11:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 10:23 FX
2009-04-03 11:50 ` Dave Korn [this message]
2009-04-03 12:20   ` FX
2009-04-03 12:23     ` Dave Korn
2009-04-03 13:48       ` [SOLVED] " Dave Korn
2009-04-03 18:30         ` FX
2009-04-03 19:16           ` Dave Korn
2009-04-08  0:37         ` [SOLVED] " Joseph S. Myers
2009-04-08 11:01           ` Dave Korn
  -- strict thread matches above, loose matches on Subject: below --
2009-04-01  0:53 Joseph S. Myers
2009-04-01  1:25 ` DJ Delorie
2009-04-01  1:57   ` Joseph S. Myers
2009-04-01  2:14     ` DJ Delorie
2009-04-01 12:42       ` Joseph S. Myers
2009-04-01 12:53         ` Dave Korn
2009-04-02  6:44           ` Dave Korn
2009-04-02  9:10             ` Dave Korn
2009-04-03 10:07               ` Dave Korn
2009-04-01  8:44 ` Bernd Roesch
2009-04-01 12:47   ` Joseph S. Myers

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=49D5F6DB.1040505@gmail.com \
    --to=dave.korn.cygwin@googlemail.com \
    --cc=fxcoudert@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=joseph@codesourcery.com \
    /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).