Hi, we test in TestBrokenIsnanCXX.cmake if isnan is in either cmath or math.h - problem is Visual C++ doesn't pass this test, since the functions is called _isnan and not isnan. We test this already in plplot.cmake where we look for isnan or _isnan. The problem now is these are contradictory configurations since on one hand we have HAVE_ISNAN and _HAVE_ISNAN defined, on the other hand also BROKEN_ISNAN_CXX. In example 21 we incorrectly redeclare isnan which leads to warnings.
For now if changed the cmake configuration so that TestBrokenIsnanCXX.cmake is only included for compilers other then Visual C++. This solves the problem for Visual C++ and doesn't harm any other compiler, but obviously we need to revisit this part of the cmake configuration. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ 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 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel