Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 520418

Summary: gummi 0.6.5 depends on -std=c99
Product: Gentoo/Alt Reporter: Wilfred Hughes <me>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.