Is C++ actually necessary?
Currently, the project is listed as c and cpp in meson.build, and meson will error out if a c++ compiler isn't found.
There are only two references to cxx in meson as far as I can find:
- The first at g_have_iso_cxx_varargs
- The second in fuzzing/meson.build
fuzzing_engine = cxx.find_library('FuzzingEngine', required : false)
The third in tests/meson.build for cxx-test and the test does nothing as far as I can tell except returns 0.
A couple of things:
- The fuzzing engine line works just as well with
- The only cpp file in the entire project is tests/cxx-test.cpp
Would a patch that makes c++ optional be accepted? If so, I can file a merge request pretty quickly.