You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our NULL doesn't appear to be detected as sentinel. This leads to confusing output like this:
neverball/share/gui.c:708:51: warning: missing sentinel in function call [-Wsentinel]
return concat_string("...", text + right, NULL);
^
, NULL
neverball/share/common.h:74:7: note: function has been explicitly marked sentinel here
char *concat_string(const char *first, ...) NULL_TERMINATED;
Looking at my local /usr/lib/clang/9.0.0/include/stddef.h it looks like we should be using #define NULL __null (C++) and #define NULL ((void*)0) (C)? What are we using? Why doesn't it work?
The text was updated successfully, but these errors were encountered:
Our
NULL
doesn't appear to be detected as sentinel. This leads to confusing output like this:Looking at my local /usr/lib/clang/9.0.0/include/stddef.h it looks like we should be using
#define NULL __null
(C++) and#define NULL ((void*)0)
(C)? What are we using? Why doesn't it work?The text was updated successfully, but these errors were encountered: