The flag ` -fallow-argument-mismatch` needs to be added to the GNU compiler. This should be implemented in the CMake build script.