This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]