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:
- Compile errors with gcc 4.6.2 Joerg Mayer (Nov 21)