worked like a champ thanks
On 5/23/2015 6:53 PM, Guy Harris wrote:
> On May 23, 2015, at 6:39 PM, wulfman <wulfman@xxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> Archives: https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>
--
The contents of this e-mail and any attachments are intended solely for the use of the named
addressee(s) and may contain confidential and/or privileged information. Any unauthorized use,
copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by
the sender and may be unlawful. If you are not the intended recipient, please notify the sender
immediately and delete this e-mail.