This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] fix 3145
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Nathan Sidwell <nathan at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 Nov 2001 14:53:20 -0800
- Subject: Re: [C++ PATCH] fix 3145
--On Wednesday, November 21, 2001 10:29:14 PM +0000 Neil Booth
<neil@daikokuya.demon.co.uk> wrote:
> Mark Mitchell wrote:-
>
>> And shouldn't NONNULL have type `bool'?
>
> I'll butt in if that's OK. Parameters can't have type bool, because of
> C promotion issues.
Doh! I only remember this about half the time.
Perhaps when we get to 3.2 we can talk about going to ANSI C and
requiring prototypes for everything.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com