GNOME Bugzilla – Bug 323045
gtkcalendar.c: The identifier is already declared.
Last modified: 2005-12-06 17:07:50 UTC
Please describe the problem: 'boolean' is already declared in RpcNdr.h. Steps to reproduce: 1. compile by Visual C++ with SDK. Actual results: following message is displayed. gtk\gtkcalendar.c(73) : error C2371: 'boolean' : redefinition; different basic types c:\Program Files\Microsoft Platform SDK\Include\RpcNdr.h(147) : see declaration of 'boolean' Expected results: 'boolean' should be renamed to something. Does this happen every time? every time Other information:
Ah, unfortunate. Maybe it is time to convert that old libdate code to gboolean.
2005-12-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcalendar.c: Avoid conflict with win32 headers in the libdate routines. (#323045, Kazuki Iwamoto)