Summary: | kdeedu/kig/misc/conic-common.cpp doesn't compile on Solaris | ||
---|---|---|---|
Product: | [Unmaintained] configure | Reporter: | Torsten Kasch <tk> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mueller |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch for kdeedu |
Description
Torsten Kasch
2003-12-21 16:30:22 UTC
Created attachment 3813 [details]
patch for kdeedu
Applying the attached patch seems to resolve the compilation issue for me.
Subject: kdeedu/kig CVS commit by mueller: fix compile CCMAIL: 70970-done@bugs.kde.org M +2 -0 configure.in.in 1.22 M +6 -0 misc/conic-common.cpp 1.13 M +6 -0 misc/cubic-common.cc 1.6 --- kdeedu/kig/configure.in.in #1.21:1.22 @@ -61,4 +61,6 @@ AC_DEFINE_UNQUOTED( KIGVERSION, "$kig_version", [The current Kig version as a string] ) +AC_CHECK_HEADERS([ieeefp.h]) + # apparently the KDE build system wants to see "dnl AC_OUTPUT( ... )", # not a normal AC_OUTPUT --- kdeedu/kig/misc/cubic-common.cc #1.5:1.6 @@ -17,8 +17,14 @@ // 02111-1307, USA. +#include <config.h> + #include "cubic-common.h" #include "kignumerics.h" #include "kigtransform.h" +#ifdef HAVE_IEEEFP_H +#include <ieeefp.h> +#endif + /* * coefficients of the cartesian equation for cubics --- kdeedu/kig/misc/conic-common.cpp #1.12:1.13 @@ -19,4 +19,6 @@ **/ +#include <config.h> + #include "conic-common.h" @@ -27,4 +29,8 @@ #include <algorithm> +#ifdef HAVE_IEEEFP_H +#include <ieeeefp.h> +#endif + ConicCartesianData::ConicCartesianData( const ConicPolarData& polardata Hmm, looks like one "e" too much in "#include <ieeeefp.h>" ;-) Subject: kdeedu/kig/misc CVS commit by mueller: argh CCMAIL: 70970-done@bugs.kde.org M +1 -1 conic-common.cpp 1.14 --- kdeedu/kig/misc/conic-common.cpp #1.13:1.14 @@ -30,5 +30,5 @@ #ifdef HAVE_IEEEFP_H -#include <ieeeefp.h> +#include <ieeefp.h> #endif |