[Bug middle-end/21014] read-rtl.c:670: warning: missing sentinel in function call

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Fri Apr 15 22:10:00 GMT 2005


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-04-15 22:10 -------
Subject: Re:  read-rtl.c:670: warning: missing sentinel in function call

>   result = concat ("(", cond1, ") && (", cond2, ")", NULL);
> 
> 
> Looks like someone forgot the cast.  (well in most of the time there is a cast, oh well).

It looks like this could be fixed by including stddef.h after stdio.h
in system.h.  stddef.h would then provide an appropriate define for NULL.
Otherwise, stdio.h needs fixing.  The define for NULL in system.h is
also probably inadequate if it's ever needed.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21014



More information about the Gcc-bugs mailing list