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 169857 - libgnome creates an array of unknown element size
libgnome creates an array of unknown element size
Status: RESOLVED FIXED
Product: libgnome
Classification: Deprecated
Component: general
HEAD
Other All
: Normal normal
: ---
Assigned To: libgnome maintainer
libgnome maintainer
Depends on:
Blocks:
 
 
Reported: 2005-03-10 17:22 UTC by Allison Karlitskaya (desrt)
Modified: 2005-05-11 09:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
= patch = (492 bytes, patch)
2005-03-10 17:23 UTC, Allison Karlitskaya (desrt)
none Details | Review

Description Allison Karlitskaya (desrt) 2005-03-10 17:22:46 UTC
as per the C standard, gcc4 no longer issues a warning, but rather, an error if
you attempt to declare an array with an unknown element size.

libgnome does this.  ie: libgnome won't build with gcc4.

to fix it, i've simply included <popt.h> so that the type of the array is known.
Comment 1 Allison Karlitskaya (desrt) 2005-03-10 17:23:36 UTC
Created attachment 38517 [details] [review]
= patch =
Comment 2 Kjartan Maraas 2005-05-11 09:17:08 UTC
Commited on HEAD and gnome-2-10 branches. I didn't see this on my end, but
adding the include can't hurt.