Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85558 - libgnome-2.6.10 and gcc-4.0 compilation error (and fix)
Summary: libgnome-2.6.10 and gcc-4.0 compilation error (and fix)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 13:10 UTC by Jonathan Briggs
Modified: 2005-03-24 17:43 UTC (History)
0 users

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


Attachments
Patch to add include popt.h (libgnome-2.10.0-popt.patch,471 bytes, patch)
2005-03-16 13:11 UTC, Jonathan Briggs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Briggs 2005-03-16 13:10:20 UTC
It's gcc 4 complaining about an unknown array size.  This is happening because gnome-gconf.c doesn't contain #include <popt.h> when it uses struct poptOption in an array declaration.

Reproducible: Always
Steps to Reproduce:
1. Install GCC 4
2. Emerge libgnome-2.10

Actual Results:  
Build failed with a compiler error.

Expected Results:  
Built.
Comment 1 Jonathan Briggs 2005-03-16 13:11:26 UTC
Created attachment 53649 [details, diff]
Patch to add include popt.h
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-03-24 17:43:38 UTC
Fixed in CVS.  Patch approved by Obz.