From: Richard Earnshaw <rearnsha@arm.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Andreas Schwab <schwab@suse.de>,
Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] h8300 Change literal reg numbers to REGNUM macros
Date: Wed, 15 May 2002 10:05:00 -0000 [thread overview]
Message-ID: <200205151704.SAA13372@cam-mail2.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Wed, 15 May 2002 12:56:48 EDT." <3CE29350.50801@cygnus.com>
> > Richard Earnshaw <rearnsha@arm.com> writes:
> >
> > |> Further, it's general to talk about 'ISO' when referring to c99. I said
> > |> 'ANSI', which is usually taken to refer to the original standard.
> >
> > I'm pretty sure that ANSI has adopted C99 too. And C89 (well, C90
> > actually) was an ISO standard as well.
>
> GDB requires ISO C, not ANSI C :-)
> http://sources.redhat.com/gdb/onlinedocs/gdbint_13.html#SEC102
I just built gdb on arm-netbsdelf with -std=c89 -Werror added to the build
options. Apart from needing to add -Wno-trigraphs to compile solib-svr4.c
('cos it includes elf/mips.h, which has '???' in coments), everything
worked fine.
Maybe we should work towards adding the 'std' option on builds. It should
help to clear out any accidental use of GCC-isms.
R.
next prev parent reply other threads:[~2002-05-15 17:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-15 4:32 Andrew Volkov
2002-05-15 5:04 ` Richard Earnshaw
2002-05-15 5:33 ` Andreas Schwab
2002-05-15 5:39 ` Richard Earnshaw
2002-05-15 5:49 ` Andreas Schwab
2002-05-15 5:57 ` Richard Earnshaw
2002-05-15 6:21 ` Andreas Schwab
2002-05-15 9:56 ` Andrew Cagney
2002-05-15 10:05 ` Richard Earnshaw [this message]
2002-05-18 14:20 ` Andrew Cagney
2002-05-15 6:02 Andrew Volkov
2002-05-15 6:59 Andrew Volkov
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=200205151704.SAA13372@cam-mail2.cambridge.arm.com \
--to=rearnsha@arm.com \
--cc=Richard.Earnshaw@arm.com \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=schwab@suse.de \
/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