[Github-comments] [geany/geany-plugins] "Too many #ifdef configurations" in Debugger plugin (#1014)

Enrico Tröger notifications at xxxxx
Tue Oct 13 22:13:37 UTC 2020


cppcheck 2.2 complains about many `ifdef`s in the Debugger plugin:
```
make[5]: Leaving directory '/build/geany-plugins-1.36-1+20201013git06a38f4/debugger/src'
tpage.c:154:62: warning: Uninitialized variable: widgets [uninitvar]
   gtk_container_remove(GTK_CONTAINER(gtk_widget_get_parent(*widgets[i])), *widgets[i]);
                                                             ^
nofile:0:0: warning: Too many #ifdef configurations - cppcheck only checks 12 configurations. Use --force to check all configurations. For more details, use --enable=information. [toomanyconfigs]

make[4]: *** [Makefile:1686: check-cppcheck] Error 2
```

When we remove GTK2 code, this might resolve it.

What should we do until then?
- use `--force`?
- refactor the code?
- ignore?

This breaks the nightly builds for Debian Sid: https://www.geany.org/download/nightly-builds/.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1014
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201013/02669e29/attachment.htm>


More information about the Github-comments mailing list