From: Andrew Cagney <ac131313@cygnus.com>
To: Richard Henderson <rth@redhat.com>
Cc: Alan Modra <amodra@bigpond.net.au>,
binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: bfd_read and bfd_write
Date: Wed, 05 Sep 2001 17:26:00 -0000 [thread overview]
Message-ID: <3B96C2B2.8050409@cygnus.com> (raw)
In-Reply-To: <20010905122109.A17937@redhat.com>
> On Wed, Sep 05, 2001 at 12:45:10PM -0400, Andrew Cagney wrote:
>
>> rather than change the function signature, why not introduce a new
>> interface and then deprecate the old one?
>
>
> Because then you'll never get rid of the old interface.
why not introduce the new _external_ interface, go around eliminating
all known uses of the old. once done (new release made?) zap the old
interface. a common pratice is to add code to the old interface to
issue a warning the first time it is called.
alan's basic problem of needing to co-ordinate everything so it can all
happen at once just goes away.
it also covers the k&r problem - you cant rely on a k&r compiler to
report parameter mismatches.
andrew
next prev parent reply other threads:[~2001-09-05 17:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-04 22:20 Alan Modra
2001-09-05 9:45 ` Andrew Cagney
2001-09-05 12:21 ` Richard Henderson
2001-09-05 17:26 ` Andrew Cagney [this message]
2001-09-05 18:52 ` Alan Modra
2001-09-05 20:03 ` Andrew Cagney
2001-09-06 10:33 ` Nick Clifton
2001-09-18 3:27 ` Alan Modra
2001-09-19 11:58 ` Andrew Cagney
2001-09-20 9:52 ` Andrew Cagney
2001-09-05 23:15 ` Andreas Jaeger
2001-09-06 0:01 ` Alan Modra
2001-09-05 20:13 ` Hans-Peter Nilsson
2001-09-05 20:30 ` Alan Modra
2001-09-08 22:42 ` Jim Blandy
2001-09-09 7:24 ` Hans-Peter Nilsson
2001-09-10 9:51 ` Ian Lance Taylor
2001-09-10 17:56 ` Hans-Peter Nilsson
2001-09-10 18:04 ` Ian Lance Taylor
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=3B96C2B2.8050409@cygnus.com \
--to=ac131313@cygnus.com \
--cc=amodra@bigpond.net.au \
--cc=binutils@sources.redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=rth@redhat.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