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 651937 - CFLAGS=-std=c89 causes build failure on kfeebsd
CFLAGS=-std=c89 causes build failure on kfeebsd
Status: RESOLVED DUPLICATE of bug 651944
Product: dconf
Classification: Core
Component: general
0.7.x
Other FreeBSD
: Normal normal
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2011-06-05 15:26 UTC by Michael Biebl
Modified: 2011-06-08 00:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use CFLAGS=-std=gnu99 (2.59 KB, patch)
2011-06-05 15:26 UTC, Michael Biebl
none Details | Review

Description Michael Biebl 2011-06-05 15:26:29 UTC
Created attachment 189271 [details] [review]
Use CFLAGS=-std=gnu99

d-conf currently fails to build on kfreebsd:

https://buildd.debian.org/status/fetch.php?pkg=d-conf&arch=kfreebsd-amd64&ver=0.7.5-1&stamp=1305703264

The suggested fix in 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629273
is to use CFLAGS = -std=gnu99.

Might make sense to use something more modern in any case, even for Linux.
Comment 1 Michael Biebl 2011-06-05 17:31:17 UTC
The patch in
https://bugzilla.gnome.org/show_bug.cgi?id=651944
also fixes the build failure on kfreebsd, so I guess this bug can be closed.
You can still consider though, to use std=gnu99 as something more modern then c89
Comment 2 Allison Karlitskaya (desrt) 2011-06-08 00:36:22 UTC

*** This bug has been marked as a duplicate of bug 651944 ***
Comment 3 Allison Karlitskaya (desrt) 2011-06-08 00:36:52 UTC
I don't think that there is a point in using -std=gnu99 as something "more modern" until we actually need that functionality.