GNOME Bugzilla – Bug 780146
"make check" fails to compile
Last modified: 2017-03-16 21:09:30 UTC
Found at https://bugzilla.redhat.com/show_bug.cgi?id=1432940: "make check" fails with: vteconv.cc: In function ‘int main(int, char**)’: vteconv.cc:774:40: error: missing sentinel in function call [-Werror=format=] g_test_init (&argc, &argv, NULL); ^ Inspired by the randomly found answer at http://stackoverflow.com/a/31519147/4457671: changing that NULL to (void*)NULL in vteconv.cc and vtetypes.cc solves the problem.
Use nullptr instead of NULL. Since it's a build fix, it's ok to commit even though we're in code freeze.
Fixed.