Using zig c++ to compile a C++ file, how to suppress _Nonnull warnings? (opens in new tab)
I am using zig c++ to compile a C++ file that links against GMP. I keep getting this warning from GMP headers: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] The code compiles and runs fine. I just want to hide these warnings. Is there a way to do this with zig c++ flags?
Read the original article