On 2011-10-20 15:23+0100 Andrew Ross wrote:

> Gcc with no standards flags is now warning free again.

Thanks, Andrew, for those changes which did solve the broken build for

export CFLAGS='-O3 -fvisibility=hidden'
export CXXFLAGS='-O3 -fvisibility=hidden'
export FFLAGS='-O3'

on my platform.  Furthermore, "ctest -j8" completed with no errors.

However, there are 3 similar build warnings still left on my platform which are
as follows:

In file included from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/qt.h:72,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_PlotWindow.h:39,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_example.cpp:26:
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/plplotP.h:273:1: 
warning: "isfinite" redefined
In file included from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/plplotP.h:111,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/qt.h:72,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_PlotWindow.h:39,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_example.cpp:26:
/usr/include/math.h:245:1: warning: this is the location of the previous 
definition

In file included from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/qt.h:72,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_PlotWindow.h:39,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_PlotWindow.cpp:26:
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/plplotP.h:273:1: 
warning: "isfinite" redefined
In file included from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/plplotP.h:111,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/qt.h:72,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_PlotWindow.h:39,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/examples/c++/qt_PlotWindow.cpp:26:
/usr/include/math.h:245:1: warning: this is the location of the previous 
definition

In file included from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/qt.h:72,
                  from 
/home/software/plplot_svn/HEAD/build_dir/examples/c++/../../../plplot_cmake_qt/examples/c++/qt_PlotWindow.h:39,
                  from 
/home/software/plplot_svn/HEAD/build_dir/examples/c++/moc_qt_PlotWindow.cxx:10:
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/plplotP.h:273:1: 
warning: "isfinite" redefined
In file included from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/plplotP.h:111,
                  from 
/home/software/plplot_svn/HEAD/plplot_cmake_qt/include/qt.h:72,
                  from 
/home/software/plplot_svn/HEAD/build_dir/examples/c++/../../../plplot_cmake_qt/examples/c++/qt_PlotWindow.h:39,
                  from 
/home/software/plplot_svn/HEAD/build_dir/examples/c++/moc_qt_PlotWindow.cxx:10:
/usr/include/math.h:245:1: warning: this is the location of the previous 
definition

The relevant lines from math.h on my platform are as follows:

/* Return nonzero value if X is not +-Inf or NaN.  */
# ifdef __NO_LONG_DOUBLE_MATH
#  define isfinite(x) \
      (sizeof (x) == sizeof (float) ? __finitef (x) : __finite (x))
# else
#  define isfinite(x) \
      (sizeof (x) == sizeof (float)                                            \
       ? __finitef (x)                                                         \
       : sizeof (x) == sizeof (double)                                         \
       ? __finite (x) : __finitel (x))
# endif

line 245 is just after the #else so apparently my system does have long
double math.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to