I tried to do a build with cppcheck patches. All OK. (I also tried to compile the OpenCVs from git and realized that even these (besides the ones in our git) do not integrate SURF, only the free algorithms.)