Wireshark mailing list archives
Re: not sure whats going on with this error
From: Guy Harris <guy () alum mit edu>
Date: Sat, 23 May 2015 18:53:38 -0700
On May 23, 2015, at 6:39 PM, wulfman <wulfman () wulfman com> wrote:
In file included from packet-scsi.c:89:0: packet-scsi.c: In function 'dissect_spc_mgmt_protocol_in': packet-scsi.h:263:12: error: variable 'try_offset' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] guint try_offset;
Try changing it to volatile guint try_offset; and rebuilding.
arm compiling here
It may be that compilers determine whether something "might be clobbered by 'longjmp' or 'vfork'" based on whether it happens to be in a register or in memory, rather than on what the C specification says about longjmp(), so some compilers, for some target instruction sets, complain, and others don't. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- not sure whats going on with this error wulfman (May 23)
- Re: not sure whats going on with this error Guy Harris (May 23)
- Re: not sure whats going on with this error wulfman (May 23)
- Re: not sure whats going on with this error Guy Harris (May 26)
- Re: not sure whats going on with this error wulfman (May 23)
- Re: not sure whats going on with this error Guy Harris (May 23)