Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 1997 15:44:38 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        eivind@dimaga.com, hackers@freebsd.org
Subject:   Re: NULL as ((void*)0) (was Re: strlen() question)
Message-ID:  <199702150444.PAA04750@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>[1] There has come up one serious objection here, relating to C++.  If this
>objection is correct, it mean that the proposal absolutely should be
>dropped.  Besides, nobody but me seems to be in favour, and it isn't
>important to me, so...

NULL could be ifdefed for c++.  However, gcc seems to accept
`char *p = (void *)0;' at all warning levels.  I don't know C++
well enough to tell if this is a bug.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702150444.PAA04750>