GNOME Bugzilla – Bug 337197
C99ism in servers/groupwise/e-gw-item.c breaks build with gcc 2.95
Last modified: 2013-09-14 16:49:26 UTC
The servers/groupwise/e-gw-item.c file declares a local variable after some other statements have been executed. This breaks the build with the gcc 2.95 compiler because such feature, new in C99, is not supported. This compiler is included in, e.g., NetBSD 1.6 (which is still a supported version). Fixing this is trivial: just move the local variable declaration before any other code in that block. The patch does it.
Created attachment 62736 [details] [review] Proposed patch.
Approved for commit to both HEAD and the gnome-2-14 branches.
Just for the record: I cannot commit this myself.
Fixed in CVS on the HEAD and the stable branch. Thank you for your bug report and your patch