I had one problem with 2.99.0
my system does not seem to support acosl and friends so WGoogleMap did
not compile.
Not sure if the following patch is a proper way to detect if acosl is
there or not, but at least it helped me to get things going.

If there is a better way to find if acosl and friends are there,
please enlighten me.

btw: do we really need the accuracy of the l functions? if not it is
better to use acos, cos and sin (I had problems with acosl, cosl and
sinl)

Frans
--- wt-2.99.0/src/Wt/WGoogleMap.C.orig	2009-03-12 09:52:56.000000000 +0100
+++ wt-2.99.0/src/Wt/WGoogleMap.C	2009-03-12 10:13:21.000000000 +0100
@@ -18,6 +18,12 @@
 #include <sstream>
 #include <utility>
 #include <iostream>
+
+#if not defined(_GLIBCXX_HAVE__SINL) && not defined(acosl)
+#define cosl cos
+#define acosl acos
+#define sinl sin
+#endif
 
 using std::string;
 using std::vector;
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to