[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 138148] New: Compile error on Solaris 8 -
From:       stevee () zuken ! co ! uk
Date:       2006-11-30 12:21:42
Message-ID: 20061130132141.138148.stevee () zuken ! co ! uk
[Download RAW message or body]

------- 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 :-(


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic