/in/foo.cc: In function 'int main()':
/in/foo.cc:16:28: warning: argument 1 null where non-null expected [-Wnonnull]
16 | if (mx <= 8) printf(0);
| ~~~~~~^~~
In file included from /usr/include/c++/12/cstdio:42,
from /in/foo.cc:1:
/usr/include/stdio.h:356:12: note: in a call to function 'int printf(const char*, ...)' declared 'nonnull'
356 | extern int printf (const char *__restrict __format, ...);
| ^~~~~~
/in/foo.cc:16:28: warning: null format string [-Wformat-overflow=]
16 | if (mx <= 8) printf(0);
| ~~~~~~^~~