#1 Error compiling with gcc 3.1

closed
None
5
2002-08-27
2002-08-19
Anonymous
No

Hi.

I get this when I try to compile 0.3.0alpha :

c++ -DHAVE_CONFIG_H -I. -I. -I../../config
-I../../src/misc
-I../../src/misc/cc++ -I../../src/misc/missing/generated
-I../../src/PoolFile -Wall -g -D_GNU_SOURCE
-Wno-unused-function
-Wno-unused-variable -Wno-unused -c
COSSSoundPlayer.cpp -o COSSSoundPlayer.o
COSSSoundPlayer.cpp: In member function virtual void
COSSSoundPlayer::initialize()':
COSSSoundPlayer.cpp:148: call of overloaded
log(unsigned int)' is ambiguous
/usr/include/bits/mathcalls.h:112: candidates are: double
log(double)
/usr/local/lib/gcc-lib/../../include/g++-v3/cmath:341:
long
double std::log(long double)
/usr/local/lib/gcc-lib/../../include/g++-v3/cmath:333:
float
std::log(float)
make[3]: *** [COSSSoundPlayer.lo] Error 1
make[3]: Leaving directory
/usr/src/Ljud/rezound-0.3.0alpha/src/backend

Any idea?

Thanx,

Peder

Discussion

  • Davy Durham

    Davy Durham - 2002-08-19
    • assigned_to: nobody --> ddurham
     
  • Davy Durham

    Davy Durham - 2002-08-27
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks