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++] warn if NULL is passed through varargs


On 09 Oct 2002 16:57:37 -0300, Alexandre Oliva <aoliva@redhat.com> wrote:

> The problem in C++ is very real.  __null doesn't decay to a
> pointer-wide integer type in varargs, and this has caused a run-time
> error in an application, which got me into writing this patch.

Please elaborate.  It's certainly intended to decay to a pointer-wide
integer.

Jason


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