no warning message with -Wall

Andrew Pinski pinskia@gmail.com
Tue Aug 21 16:56:00 GMT 2007


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



More information about the Gcc-bugs mailing list