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 320000 - C99ism in gtk/gtktreemodelfilter.c
C99ism in gtk/gtktreemodelfilter.c
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.8.x
Other All
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2005-10-27 17:33 UTC by Kazuki Iwamoto
Modified: 2005-10-28 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2005-10-27 17:33:06 UTC
Please describe the problem:
Because of C99ism in the file gtk/gtktreemodelfilter.c, gtk+ does not compile.

Steps to reproduce:
1.compile by old compiler.


Actual results:
The following messages are displayed.
gtktreemodelfilter.c(628) : error C2275: 'GtkTreeIter' : illegal use of this
type as an expression
        gtktreemodel.h(39) : see declaration of 'GtkTreeIter'
gtktreemodelfilter.c(628) : error C2146: syntax error : missing ';' before
identifier 'f_iter'
gtktreemodelfilter.c(628) : error C2144: syntax error : '<Unknown>' should be
preceded by '<Unknown>'
gtktreemodelfilter.c(628) : error C2144: syntax error : '<Unknown>' should be
preceded by '<Unknown>'
gtktreemodelfilter.c(628) : error C2143: syntax error : missing ';' before
'identifier'
gtktreemodelfilter.c(628) : error C2065: 'f_iter' : undeclared identifier
gtktreemodelfilter.c(630) : error C2224: left of '.stamp' must have struct/union
type
gtktreemodelfilter.c(631) : error C2224: left of '.user_data' must have
struct/union type
gtktreemodelfilter.c(632) : error C2224: left of '.user_data2' must have
struct/union type

Expected results:
The declaration have to be moved to top of block.

Does this happen every time?
every time

Other information:
Comment 1 Matthias Clasen 2005-10-28 15:30:35 UTC
fixed