GNOME Bugzilla – Bug 320000
C99ism in gtk/gtktreemodelfilter.c
Last modified: 2005-10-28 15:30:35 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:
fixed