Wireshark mailing list archives

Add -Wdocumentation


From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Fri, 6 Dec 2013 15:38:08 +0100

Hi,

I plan to add -Wdocumentation [1] by default to Wireshark (when build with
Clang).
I have already fix in trunk the documentation.

The major issue to add -Wdocumentation is other library (like glib/gtk...)
It is don't use doxygen and make a lot of error.

To fix this, i use pragma to disable error for glib.h or gtk using a
wrapper (like wsgcrypt.h)

I attach the patch for gtk.h (the patch for glib.h is to big (>500ko)...
because modified all dissector !)

It is ok for you ?



[1] -
http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html#majorfeatures

Attachment: 0003-Add-Wdocumentation-to-autotools-and-CMake.patch
Description:

Attachment: 0007-Add-also-wsgtk-wrapper-used-for-wireshark-gtk.patch
Description:

Attachment: 0009-Use-wsgtk-wrapper.patch
Description:

___________________________________________________________________________
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: