Bug 85558 - libgnome-2.6.10 and gcc-4.0 compilation error (and fix)
Bug#: 85558 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: zlynx@acm.org
Component: GNOME
URL: 
Summary: libgnome-2.6.10 and gcc-4.0 compilation error (and fix)
Keywords:  
Status Whiteboard: 
Opened: 2005-03-16 13:10 0000
Description:   Opened: 2005-03-16 13:10 0000
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 From Jonathan Briggs 2005-03-16 13:11:26 0000 -------
Created an attachment (id=53649) [details]
Patch to add include popt.h

------- Comment #2 From Mark Loeser 2005-03-24 17:43:38 0000 -------
Fixed in CVS.  Patch approved by Obz.