Wireshark-bugs: [Wireshark-bugs] [Bug 10000] New: Use of VALUE_STRING_ARRAY2_GLOBAL_DEF breaks c
Date: Thu, 17 Apr 2014 19:50:34 +0000
Bug ID 10000
Summary Use of VALUE_STRING_ARRAY2_GLOBAL_DEF breaks compilation on Mac
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware x86
OS Mac OS X 10.4
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter rknall@gmail.com

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
The following appears, when I try to compile on Mac, with the latest git
patchsets:

/Users/rknall/Development/Wireshark/src/epan/dissectors/packet-windows-common.c:96:32:
error: 
      'extern' variable has an initializer [-Werror,-Wextern-initializer]
VALUE_STRING_ARRAY2_GLOBAL_DEF(WERR_errors); /* XXX: Remove GLOBAL_DEF o...
                               ^
/Users/rknall/Development/Wireshark/src/epan/value_string.h:82:67: note: 
      expanded from macro 'VALUE_STRING_ARRAY2_GLOBAL_DEF'
#define VALUE_STRING_ARRAY2_GLOBAL_DEF( array_name) _VS_ARRAY_XXX(array_...
                                                                  ^
/Users/rknall/Development/Wireshark/src/epan/value_string.h:92:28: note: 
      expanded from macro '_VS_ARRAY_XXX'
    _VS_ARRAY_SC_TYPE_NAME(array_name, sc) = {    \
                           ^
/Users/rknall/Development/Wireshark/src/epan/value_string.h:97:70: note: 
      expanded from macro '_VS_ARRAY_SC_TYPE_NAME'
#define _VS_ARRAY_SC_TYPE_NAME(array_name, sc) sc const value_string
array_name[]


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