[Kalzium] [Bug 114813] New: Compile error on Solaris 8 - spectrum.cpp uses round() which is not available

stevee@zuken.co.uk stevee at zuken.co.uk
Fri Oct 21 14:44:03 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=114813         
           Summary: Compile error on Solaris 8 - spectrum.cpp uses round()
                    which is not available
           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 spectrum.o -MD -MP -MF ".deps/spectrum.Tpo" -c -o spectrum.o spectrum.cpp; \
then mv -f ".deps/spectrum.Tpo" ".deps/spectrum.Po"; else rm -f ".deps/spectrum.Tpo"; exit 1; fi
spectrum.cpp: In member function `void Spectrum::adjustIntensities()':
spectrum.cpp:100: error: `round' undeclared (first use this function)
spectrum.cpp:100: error: (Each undeclared identifier is reported only once for each function it appears in.)

kcalc had a similar problem in kde 3.3 beta which was subsequently fixed, see bug 99346.


More information about the Kalzium mailing list