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

List:       koffice-devel
Subject:    Re: KChart patch for HPPA
From:       Ben Burton <benb () acm ! org>
Date:       2002-01-20 14:58:14
[Download RAW message or body]


Sorry for taking so long to write back here.

>   Is there a way to put some "#ifdef THIS_IS_HPPA_WITH_GCC" around it?
>
> If including that cmath.h is only needed for HPPA with GCC I would prefer
> to have it not for other platforms.

I actually suspect this is a gcc3 issue and has nothing to do with 
architecture - I only found it on hppa because hppa is the only debian 
architecture that seems to use gcc3 by default.  I'm not sure though since I 
haven't tested this with gcc3 on other machines.

Ben.

> On Saturday 29 December 2001 13:48, Ben Burton wrote:
> > Hi.  The following patch is necessary for kchart to compile without
> > errors on a debian hppa system using gcc3.  Could someone please commit
> > this or else give me the go-ahead to commit it myself?
> >
> > Thanks - Ben.
> >
> > --- t/koffice-1.1.1/kchart/kdchart/KDChartPainter.cpp   Mon Dec 10
> > 04:53:35 2001
> > +++ koffice-1.1.1/kchart/kdchart/KDChartPainter.cpp     Wed Dec 26
> > 00:07:15 2001
> > @@ -8,6 +8,7 @@
> >    Copyright (C) 2001 by Klarälvdalens Datakonsult AB
> >  */
> >
> > +#include <cmath>
> >  #include <KDDrawText.h>
> >  #include <KDChartPainter.h>
> >  #include <KDChartEnums.h>

-- 

Ben Burton
benb@acm.org  |  bab@debian.org
http://baasil.humbug.org.au/bab/
Public Key: finger bab@debian.org

Catholic girls make the best dykes because their whole lives they're
told, "Having sex with men is a sin!"
	- Judy Carter

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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