Wireshark mailing list archives

Re: glib include directory shpuld be added to the cppcheck include directory list


From: Guy Harris <guy () alum mit edu>
Date: Mon, 19 May 2014 14:41:36 -0700


On May 19, 2014, at 2:36 PM, Toralf Förster <toralf.foerster () gmx de> 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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: