Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 33587: /trunk/ /trunk/epan/dissector

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 20 Jul 2010 02:47:13 -0700
On Jul 20, 2010, at 1:27 AM, jmayer@xxxxxxxxxxxxx wrote:

> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33587
> 
> User: jmayer
> Date: 2010/07/20 01:27 AM
> 
> Log:
> Updading opensuse 11.2 -> 11.3 updated gcc to 4.5.0, which created
> a few warnings that needed fixing when compiling with -Werror.

Is this a bug in GCC 4.5.0, or did I miss something in my reading of the ANSI C standard?  Shouldn't declaring the variables in question as "volatile" be sufficient to keep the compiler from whining about them being trashed by longjmp?