This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [rfa/cli] s/NO_FUNCTION/NULL/



On Mon, 28 Jan 2002, Andrew Cagney wrote:

> In C, NULL is typically ``(void*)0''.  What ever it is, it must be 
> compatible with both data and code pointers.
> 
> I think this makes using NULL more robust than NO_FUNCTION?

NULL _should_ be more robust than NO_FUNCTION, but you can never know
what GCC will invent next ;-)

I guess we can postpone this, and use NULL, until we see some
warnings.  With any luck, that will never happen.


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