Wireshark mailing list archives
Re: volatile
From: Stephen Fisher <steve () stephen-fisher com>
Date: Wed, 20 Apr 2011 09:17:39 -0600
On Wed, Apr 20, 2011 at 02:15:19PM +0000, Chris Maynard wrote:
But then I went looking for other volatile's and found a number of them: grep volatile epan/dissectors/packet-*.c | wc 184 1066 14209 Do we really need any of these in Wireshark?
I just tried removing the one you mentioned and another random one and it still compiles, but I've often seen a compiler warning about a longjump because of our exception handling code (the TRY / CATCH stuff) clobbering variables requiring them to be declared as volatile. ___________________________________________________________________________ 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:
- volatile Chris Maynard (Apr 20)
- Re: volatile Stephen Fisher (Apr 20)
- Re: volatile Guy Harris (Apr 20)