This is the mail archive of the gcc-bugs@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: no warning message with -Wall


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


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