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 323045 - gtkcalendar.c: The identifier is already declared.
gtkcalendar.c: The identifier is already declared.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.8.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-12-02 18:44 UTC by Kazuki Iwamoto
Modified: 2005-12-06 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2005-12-02 18:44:53 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:
Comment 1 Matthias Clasen 2005-12-02 20:48:32 UTC
Ah, unfortunate. Maybe it is time to convert that old libdate code to gboolean.
Comment 2 Matthias Clasen 2005-12-06 17:07:50 UTC
2005-12-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c: Avoid conflict with win32 headers in
	the libdate routines.  (#323045, Kazuki Iwamoto)