After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337197 - C99ism in servers/groupwise/e-gw-item.c breaks build with gcc 2.95
C99ism in servers/groupwise/e-gw-item.c breaks build with gcc 2.95
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
1.8.x (obsolete)
Other NetBSD
: Normal normal
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-04-04 14:01 UTC by Julio Merino
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (1.39 KB, patch)
2006-04-04 14:02 UTC, Julio Merino
committed Details | Review

Description Julio Merino 2006-04-04 14:01:38 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.
Comment 1 Julio Merino 2006-04-04 14:02:04 UTC
Created attachment 62736 [details] [review]
Proposed patch.
Comment 2 Harish Krishnaswamy 2006-04-18 17:17:31 UTC
Approved for commit to both HEAD and the gnome-2-14 branches.
Comment 3 Julio Merino 2006-04-18 19:27:41 UTC
Just for the record: I cannot commit this myself.
Comment 4 Harish Krishnaswamy 2006-04-24 05:33:02 UTC
Fixed in CVS on the HEAD and the stable branch. Thank you for your bug report and your patch