Wireshark mailing list archives

Compile errors with gcc 4.6.2


From: Joerg Mayer <jmayer () loplof de>
Date: Mon, 21 Nov 2011 13:39:43 +0100

After updating from opensuse 11.4 to 12.1 (gcc 4.5 to 4.6) I'm seeing some
warnings that are treated as errors.

What I'd like to see others who understand the code fix:

/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c: In function ‘elem_t’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1541:13: error: variable ‘elem_funcs’ 
set but not used [-Werror=unused-but-set-variable]
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1540:9: error: variable ‘elem_ett’ set 
but not used [-Werror=unused-but-set-variable]
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c: In function ‘elem_v_short’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1759:9: error: variable ‘elem_ett’ set 
but not used [-Werror=unused-but-set-variable]
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-gsm_a_common.c:1758:22: error: variable ‘elem_names’ 
set but not used [-Werror=unused-but-set-variable]


Thanks
   Joerg
-- 
Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
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: