[Kalzium] [Bug 116507] Compile error on Solaris 9 - kalziumutils.cpp gives a finite() undefined error

Pino Toscano toscano.pino at tiscali.it
Wed Nov 16 19:12:08 CET 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=116507         




------- Additional Comments From toscano.pino tiscali it  2005-11-16 19:12 -------
SVN commit 480820 by pino:

Fix the compilation on Solaris.
Hope to backport it to the 3.5 branch before KDE 3.5.0.

CCBUG: 116507


 M  +4 -0      kalziumutils.cpp  


--- trunk/KDE/kdeedu/kalzium/src/kalziumutils.cpp #480819:480820
 @ -14,6 +14,7  @
 #include "kalziumutils.h"
 
 #include <qfont.h>
+#include <qglobal.h>
 #include <qrect.h>
 #include <qpainter.h>
 
 @ -26,6 +27,9  @
 #include "prefs.h"
 
 #include <math.h>
+#if defined(Q_OS_SOLARIS)
+#include <ieeefp.h>
+#endif
 
 int KalziumUtils::maxSize( const QString& string, const QRect& rect, QFont font, QPainter* p, int minFontSize, int maxFontSize )
 {


More information about the Kalzium mailing list