From 15134cb5b1c007b0cf9f50f8e3b711b175b323d6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 9 Jul 2003 19:11:35 +0000 Subject: [PATCH] Added note about fixing a bug in Apple's fp.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/BUILD.osx.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/wxPython/BUILD.osx.txt b/wxPython/BUILD.osx.txt index 14bee6102d..d8dd33bd21 100644 --- a/wxPython/BUILD.osx.txt +++ b/wxPython/BUILD.osx.txt @@ -63,6 +63,27 @@ get things from various CVS repositories as needed. 7. Figure out what's wrong, figure out how to fix it, and then send the patches to me. + + +NOTE: If you get a compile error while building the wxGLCanvas module +then this is likely due to a bug in one of Apple's header files. This +one character patch to +/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h +will take care of it: + + +--- fp.h.orig 2003-06-23 13:17:16.000000000 -0700 ++++ fp.h 2003-06-23 13:51:46.000000000 -0700 +@@ -1893,7 +1893,7 @@ + extern long double scalbl(long double x, long n); + #if TYPE_LONGDOUBLE_IS_DOUBLE + #ifdef __cplusplus +- inline long double scalbl(long double x, long n) { return (long double) scalb((double)(x), (n)); } ++ inline long double scalbl(long double x, long n) { return (long double) scalbl((double)(x), (n)); } + #else + #define scalbl(x, n) ((long double) scalb((double)(x), (n))) + #endif + --Robin