danmar/cppcheck — comment on commit 9dd3360cd65617636fd458ba22f948c3817d5df2
File: gui/gui.cppcheck line 5
By kimmov:

I forgot one thing - `ui_*.h` files get currently created to `gui/temp` directory. And those are needed for proper checking. So in current configuration `gui/temp` is needed. That could be fixed by creating `ui_*.h` files to own directory and adding that to the project. That is if somebody still cares about GUI...

Another possibility (more generally usable too) is to add feature to allow suppressing header files. So one can tell to Cppcheck: "these header files are not present, don't try to find them and don't complain about them".