Version: (using KDE KDE 3.4.92) Installed from: Compiled From Sources Compiler: gcc 3.4.3 OS: Solaris if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../libkdeedu/kdeeduplot -I./../../libkdeedu/kdeeduui -I/opt/kde/include -I/opt/qt/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_ISOC99_SOURCE -MT spectrumwidget.o -MD -MP -MF ".deps/spectrumwidget.Tpo" -c -o spectrumwidget.o spectrumwidget.cpp; \ then mv -f ".deps/spectrumwidget.Tpo" ".deps/spectrumwidget.Po"; else rm -f ".deps/spectrumwidget.Tpo"; exit 1; fi spectrumwidget.cpp: In member function `double SpectrumWidget::strippedValue(double)': spectrumwidget.cpp:257: error: `finite' undeclared (first use this function) spectrumwidget.cpp:257: error: (Each undeclared identifier is reported only once for each function it appears in.) To use finite() on Solaris it is necessary to include <ieeefp.h>
SVN commit 473400 by aacid: include ieeefp.h if we are on solaris BUGS: 114816 M +5 -0 spectrumwidget.cpp --- branches/KDE/3.5/kdeedu/kalzium/src/spectrumwidget.cpp #473399:473400 @@ -33,6 +33,11 @@ #include <qpixmap.h> #include <qtooltip.h> +#include <qglobal.h> +#if defined(Q_OS_SOLARIS) +#include <ieeefp.h> +#endif + SpectrumWidget::SpectrumWidget( QWidget *parent, const char* name ) : QWidget( parent, name ) { startValue = 0;
Please commit the same patch also for kalziumutils.cpp