Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520418 - gummi 0.6.5 depends on -std=c99
Summary: gummi 0.6.5 depends on -std=c99
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 14:41 UTC by Wilfred Hughes
Modified: 2019-01-07 18:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wilfred Hughes 2014-08-21 14:41:03 UTC
I successfully compiled and ran gummi 0.6.5 on my prefix system, running on RHEL 5.

Previously, compilation failed with:


gui/gui-preview.c: In function 'update_fit_scale':
gui/gui-preview.c:509:9: error: 'NAN' undeclared (first use in this function)
gui/gui-preview.c:509:9: note: each undeclared identifier is reported only once for each function it appears in
gui/gui-preview.c: In function 'previewgui_set_pdffile':
gui/gui-preview.c:953:17: error: 'NAN' undeclared (first use in this function)
Makefile:517: recipe for target 'gui-preview.o' failed

I was able to work around this (based on http://lightningismyname.blogspot.co.uk/2010/10/fixing-errors-with-nan-c-const-and-gcc.html ) with:

$ export CFLAGS="-std=gnu99"

before emerging gummi.

Reproducible: Always
Comment 1 Wilfred Hughes 2014-08-21 14:42:00 UTC
I suspect it may be related to https://bugs.gentoo.org/show_bug.cgi?id=473524 .
Comment 2 Christian Tietz 2016-03-29 21:19:12 UTC
Should be no longer relevant with gummi-0.6.6.

Being proxy-maintainer of app-editors/gummi, I would suggest to close the bug.