Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] glib include directory shpuld be added to the cppcheck inclu

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 19 May 2014 14:41:36 -0700
On May 19, 2014, at 2:36 PM, Toralf Förster <toralf.foerster@xxxxxx> wrote:

> Otherwise cppcheck reports wrongly :    [epan/wmem/wmem_map.c:39]: (error) syntax error
> 
> diff --git a/tools/cppcheck/includes b/tools/cppcheck/includes
> index 99edc71..61c0973 100644
> --- a/tools/cppcheck/includes
> +++ b/tools/cppcheck/includes
> @@ -3,3 +3,4 @@
> ./tools/lemon/
> ./ui/
> ./wiretap/
> +/usr/include/glib-2.0/

This presumably needs to be generated from includes.in by the configure script, as there's no guarantee that the include directory will be under /usr/include.