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 675893 - [W32] Build fails due to isinf() being a macro, not a function
[W32] Build fails due to isinf() being a macro, not a function
Status: RESOLVED DUPLICATE of bug 676087
Product: gtk+
Classification: Platform
Component: Backend: X11
3.5.x
Other Windows
: Normal blocker
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-05-11 15:55 UTC by LRN
Modified: 2012-05-16 21:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
on MinGW32 isinf() is a macro (940 bytes, patch)
2012-05-11 15:57 UTC, LRN
none Details | Review

Description LRN 2012-05-11 15:55:47 UTC
Configure checks for isinf() being a function.
In MinGW32 isinf() is actually a macro defined in math.h, and the code in gdk/fallback-c89.c guarded by #ifndef HAVE_ISINF fails miserably.
Comment 1 LRN 2012-05-11 15:57:08 UTC
Created attachment 213876 [details] [review]
on MinGW32 isinf() is a macro

Adds #include <math.h> to be able to detect isinf being defined, and excludes the isinf-defining code chunk on MinGW32
Comment 2 Matthias Clasen 2012-05-16 21:38:17 UTC

*** This bug has been marked as a duplicate of bug 676087 ***