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 332329 - gtktextiter.c: illegal macro declaration
gtktextiter.c: illegal macro declaration
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.8.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-02-23 13:53 UTC by Kazuki Iwamoto
Modified: 2006-02-24 00:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2006-02-23 13:53:30 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: