GNOME Bugzilla – Bug 332329
gtktextiter.c: illegal macro declaration
Last modified: 2006-02-24 00:40:26 UTC
Please describe the problem: '#define check_invariants (x)' is not correct on the specific compiler. 'check_invariants' will be replaced to '(x)'. For example, 'check_invariants (iter);' becomes '(x) (iter);'. There must be no space between a name and a parenthesis. Steps to reproduce: 1. compile gtktextiter.c (Visual C++) Actual results: following message is displayed. (Visual C++) gtktextiter.c(421) : error C2065: 'x' : undeclared identifier gtktextiter.c(421) : error C2064: term does not evaluate to a function taking 26614944 arguments Expected results: Change to '#define check_invariants(x)'. (No Space) Does this happen every time? every time Other information: