[Kalzium] [Bug 114816] New: Compile error on Solaris 8 - spectrumwidget.cpp and kalziumutils.cpp both give a finite() undefined error

stevee@zuken.co.uk stevee at zuken.co.uk
Fri Oct 21 15:10:42 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=114816         
           Summary: Compile error on Solaris 8 - spectrumwidget.cpp and
                    kalziumutils.cpp both give a finite() undefined error
           Product: kalzium
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kalzium kde org
        ReportedBy: stevee zuken co uk


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>


More information about the Kalzium mailing list