Skip to content

Commit

Permalink
cppcheck: Use cppcheck's own gtk support
Browse files Browse the repository at this point in the history
It's a lot more comprehensive (although it still lacks a few details)
and allows finding more logic errors.
  • Loading branch information
b4n committed Apr 30, 2024
1 parent f118d19 commit 451a33e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions build/cppcheck-geany-plugins.cfg
Expand Up @@ -6,6 +6,4 @@
<define name="G_GSSIZE_FORMAT" value="&quot;li&quot;"/>
<define name="G_GINT64_MODIFIER" value="&quot;l&quot;"/>
<define name="G_DIR_SEPARATOR_S" value="&quot;/&quot;"/>
<define name="G_DEFINE_TYPE(TN, t_n, T_P)" value=""/>
<define name="G_DEFINE_BOXED_TYPE(TypeName,type_name,copy_func,free_func)" value=""/>
</def>
1 change: 1 addition & 0 deletions build/cppcheck.mk
Expand Up @@ -4,6 +4,7 @@ if HAVE_CPPCHECK
check-cppcheck: $(srcdir)
$(CPPCHECK) \
-q --template=gcc --error-exitcode=2 \
--library=gtk \
--library=$(top_srcdir)/build/cppcheck-geany-plugins.cfg \
-I$(GEANY_INCLUDEDIR)/geany \
-UGEANY_PRIVATE \
Expand Down

0 comments on commit 451a33e

Please sign in to comment.