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

List:       koffice
Subject:    Problems compiling KSpread
From:       "Justin T." <justint () gmx ! net>
Date:       2002-10-22 10:28:21
[Download RAW message or body]

Heya,

I have been having some problems compiling KSpread from cvs.  I get the 
following:

kspread_functions_financial.cc: In function `bool
   kspreadfunc_dollarde(KSContext&)':
kspread_functions_financial.cc:576: call of overloaded `pow(int, int&)' is
   ambiguous
/usr/include/bits/mathcalls.h:143: candidates are: double pow(double, double)
/usr/include/g++-v32/cmath:427:                 long double std::pow(long
   double, int)
/usr/include/g++-v32/cmath:423:                 float std::pow(float, int)
/usr/include/g++-v32/cmath:419:                 double std::pow(double, int)
/usr/include/g++-v32/cmath:410:                 long double std::pow(long
   double, long double)
/usr/include/g++-v32/cmath:401:                 float std::pow(float, float)
kspread_functions_financial.cc: In function `bool
   kspreadfunc_dollarfr(KSContext&)':
kspread_functions_financial.cc:611: call of overloaded `pow(int, int&)' is
   ambiguous
/usr/include/bits/mathcalls.h:143: candidates are: double pow(double, double)
/usr/include/g++-v32/cmath:427:                 long double std::pow(long
   double, int)
/usr/include/g++-v32/cmath:423:                 float std::pow(float, int)
/usr/include/g++-v32/cmath:419:                 double std::pow(double, int)
/usr/include/g++-v32/cmath:410:                 long double std::pow(long
   double, long double)
/usr/include/g++-v32/cmath:401:                 float std::pow(float, float)
kspread_functions_financial.cc: In function `bool
   kspreadfunc_nper(KSContext&)':
kspread_functions_financial.cc:796: warning: unused variable `double tmp'

Now I can bypass these, but it can be annoying as I try to do updates twice 
weekly for testing :)

Just thought I would pass that on.

Info on my system:

Linux luna.kosmo 2.4.19-gentoo-r10 #1 Sat Oct 19 16:30:20 CEST 2002 i686 AMD 
Athlon(tm) Processor AuthenticAMD GNU/Linux

Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: /var/tmp/portage/gcc-3.2-r1/work/gcc-3.2/configure 
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu 
--target=i686-pc-linux-gnu --with-system-zlib 
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix 
--enable-long-long --disable-checking --enable-cstdio=stdio 
--enable-clocale=generic --enable-__cxa_atexit 
--enable-version-specific-runtime-libs 
--with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local 
--enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2

Let me know if you need more info :)

Justin T

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

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