Wireshark-bugs: [Wireshark-bugs] [Bug 9886] New: Clang/Xcode errors on unused const variables in
Date: Fri, 14 Mar 2014 19:41:44 +0000
Bug ID 9886
Summary Clang/Xcode errors on unused const variables in ASN-generated files
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware x86
OS Mac OS X 10.9
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter hadrielk@yahoo.com

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
A recent upgrade to clang/XCode caused it to start finding a whole slew of
unused const variables from ASN-generated c files, which it treats as errors.

I have a patch I'll submit to gerrit in a minute.

There are still many warnings about unused *functions*, which hopefully won't
be triggered as errors someday by a new version of clang.

As a side note: libsmi now fails to compile with clang/xcode as well due to an
empty struct.  Ironically, Gerald submitted a patch to libsmi to fix this,
which was accepted it seems, but hasn't made it into a new libsmi version yet
apparently.

See here:
https://mail.ibr.cs.tu-bs.de/pipermail/libsmi/2013-October/001297.html


You are receiving this mail because:
  • You are watching all bug changes.