From kde-bugs-dist Thu Nov 30 12:21:42 2006 From: stevee () zuken ! co ! uk Date: Thu, 30 Nov 2006 12:21:42 +0000 To: kde-bugs-dist Subject: [Bug 138148] New: Compile error on Solaris 8 - Message-Id: <20061130132141.138148.stevee () zuken ! co ! uk> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=116488931629395 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=138148 Summary: Compile error on Solaris 8 - kchart/kdchart/KDChartAxesPainter.cpp uses trunc, which is not available Product: kchart Version: unspecified Platform: Compiled Sources OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: inge lysator liu se ReportedBy: stevee zuken co uk Version: koffice-1.6.1 (using KDE KDE 3.5.5) Installed from: Compiled From Sources Compiler: gcc 3.4.6 OS: Solaris I get this compile error on Solaris: KDChartAxesPainter.cpp: In static member function `static QString KDChartAxesPainter::applyLabelsFormat(double, int, int, double, int&, KDChartEnums::NumberNotation, const QString&, const QString&, const QString&, const QString&, int, const QChar&, bool)': KDChartAxesPainter.cpp:3728: error: `trunc' was not declared in this scope KDChartAxesPainter.cpp:3728: warning: unused variable 'trunc' trunc is a C99 function, but the C library on Solaris is not C99 :-(