This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [c++] warn if NULL is passed through varargs
- From: Lars Brinkhoff <lars dot spam at nocrew dot org>
- To: Michael Matz <matz at suse dot de>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, <gcc-patches at gcc dot gnu dot org>
- Date: 11 Oct 2002 08:32:26 +0200
- Subject: Re: [c++] warn if NULL is passed through varargs
- Organization: nocrew
- References: <Pine.LNX.4.33.0210092104580.9652-100000@wotan.suse.de>
Michael Matz <matz@suse.de> writes:
> Which machine which is supported by gcc has a different
> representation of different pointer types (in C please).
The PDP-10 port (not supported in the official GCC tree) has different
representations for pointers to words and pointer to bytes. E.g.
"int *" and "char *" are different.
--
Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10,
Brinkhoff Consulting http://www.brinkhoff.se/ HTTP programming