This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: no warning message with -Wall
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Michael Williamson" <michael_h_williamson at yahoo dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Aug 2007 09:56:03 -0700
- Subject: Re: no warning message with -Wall
- References: <222467.22832.qm@web60719.mail.yahoo.com>
On 8/21/07, Michael Williamson <michael_h_williamson@yahoo.com> wrote:
> I would expect a message like:
>
> "the second parameter is not a pointer".
Because '\0' can converted to a pointer type as it is a 0 (for a NULL pointer).
-- Pinski