Recently cppcheck started failing for G-P, e.g.: ``` ao_bookmarklist.c:93:1: warning: There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_TYPE is a macro then please configure it. [unknownMacro] G_DEFINE_TYPE(AoBookmarkList, ao_bookmark_list, G_TYPE_OBJECT)
overviewprefs.c:86:1: warning: There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_TYPE is a macro then please configure it. [unknownMacro] G_DEFINE_TYPE (OverviewPrefs, overview_prefs, G_TYPE_OBJECT) ```
I wonder why cppcheck doesn't find the macro anymore.
In the bugtracker and forums I did not find anything relevant: https://sourceforge.net/p/cppcheck/discussion/general https://trac.cppcheck.net/
Maybe we need to pass more include locations but then again, why now? What changed?
A full log can be found here (this is with cppcheck 2.9): https://nightly.geany.org/debian/geany-plugins_1.38-1+20220909git4d08987-1_s... (the link might break in the future, if so use the latest logfile on https://nightly.geany.org/debian/ for geany-plugins and sid)
I'm pretty sure it is cppcheck, I reproduced locally with cppcheck 2.9 while 2.8 works fine.
Does anyone has a clue? @kugel- @elextr @techee @b4n