Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Fix display of array of unspecified length inside structures
Date: Fri, 18 Feb 2011 17:41:00 -0000	[thread overview]
Message-ID: <201102181740.48552.pedro@codesourcery.com> (raw)
In-Reply-To: <000f01cbcf90$4b469bf0$e1d3d3d0$@muller@ics-cnrs.unistra.fr>

On Friday 18 February 2011 17:21:34, Pierre Muller wrote:
> > That just confirms what I said.  :-)  The flexible array
> > member construst is C99 only, so it's likely that other
> > compilers choke on it by default.
> 
>   But this means that other compilers
> will at least accept this flexible array construct if
> they conform to ISO C99.

Fine.

>   malloc should be OK,
> does it require a header?

stdlib.h.

-- 
Pedro Alves


      reply	other threads:[~2011-02-18 17:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-18 11:34 Pierre Muller
2011-02-18 11:59 ` Pedro Alves
2011-02-18 15:01   ` Pierre Muller
2011-02-18 15:38     ` Pedro Alves
2011-02-18 17:39       ` Pierre Muller
2011-02-18 17:41         ` Pedro Alves [this message]

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=201102181740.48552.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    /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