From: Neil Booth <neil@daikokuya.demon.co.uk>
To: guerby@acm.org
Cc: dave@hiauly1.hia.nrc.ca, gcc-patches@gcc.gnu.org
Subject: Re: [Ada] Trivial fix for warning in utils.c
Date: Tue, 13 Nov 2001 15:03:00 -0000 [thread overview]
Message-ID: <20011116203549.A1506@daikokuya.demon.co.uk> (raw)
In-Reply-To: <200111161935.fAGJZTf17398@ulmo.localdomain>
guerby@acm.org wrote:-
> Looking in other ada/*.c files both style are used (PARAMS((void)) vs
> (void))
Using PARAMS ((void)) is fine whatever your compiler; on K & R it expands
to () and for ANSI compilers it becomes (void).
It's in the function definition that it really matters what you do.
Sorry for not putting the declaration in gigi.h; I never noticed that.
I assumed GNAT pulled it all in from tree.h like other front ends do.
I'll get it right in future.
Neil.
next prev parent reply other threads:[~2001-11-16 20:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-13 15:03 John David Anglin
2001-11-13 15:03 ` guerby
2001-11-13 15:03 ` Neil Booth [this message]
2001-11-13 15:03 ` Florian Weimer
2001-11-13 15:03 Richard Kenner
2001-11-13 15:03 Richard Kenner
2001-11-13 15:03 Richard Kenner
2001-11-13 15:03 Richard Kenner
2001-11-13 15:03 ` guerby
2001-11-13 15:03 guerby
2001-11-13 15:03 ` Graham Stott
2001-11-13 15:03 ` guerby
2001-11-13 15:03 ` Florian Weimer
2001-11-13 15:03 ` Mark Mitchell
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=20011116203549.A1506@daikokuya.demon.co.uk \
--to=neil@daikokuya.demon.co.uk \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=gcc-patches@gcc.gnu.org \
--cc=guerby@acm.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).