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

elextr notifications at xxxxx
Tue Oct 13 22:38:44 UTC 2020


For the ifdef IIUC cppcheck checks all possible paths through nested `#ifdefs` eg:

```
#ifdef A
code 1
#else 
code 2
#endif 
```

would have the whole file checked twice, once with code 1 and once with code 2 included, but when ifdefs are nested the number of combinations can explode and the check time blow out (one project had their CI run for weeks trying to complete it) so the number of combinations is limited by default.

Maybe best to skip cppcheck on debugger until after 1.37 rather than making big changes to it this close to release.

Extra points for running `cppcheck --force` on debugger manually to see how long it takes :)


-- 
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#issuecomment-708047262
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201013/d0ec92ba/attachment-0001.htm>


More information about the Github-comments mailing list