[ecasound] more gcc3.0 problems

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: [ecasound] more gcc3.0 problems
From: Kai Vehmanen (kaiv@wakkanet.fi)
Date: Sat Aug 18 2001 - 15:29:19 EEST


I just noticed that if you compile ecasound with optimization (-O, -O2) or
greater, compile with gcc3.0 fails. As I tested compiling only with
'./configure --enable-debug' (which disables all optimizations), I didn't
notice this bug. The first error you get because of this is:

--cut--
In file included from audioio-wave.h:7,
                 from audioio-ewf.h:6,
                 from audioio-ewf.cpp:31:
/usr/include/inttypes.h: In function `intmax_t imaxabs(long long int)':
/usr/include/inttypes.h:421: call of overloaded `llabs(intmax_t&)' is ambiguous
/usr/include/inttypes.h:411: candidates are: long long int llabs(long long int)
/usr/local/gcc3/include/g++-v3/bits/std_cstdlib.h:134: long
   long int __gnu_cxx::llabs(long long int)
/usr/include/inttypes.h: In function `imaxdiv_t imaxdiv(long long int, long long int)':
/usr/include/inttypes.h:428: call of overloaded `lldiv(intmax_t&, intmax_t&)' is ambiguous
/usr/include/inttypes.h:414: candidates are: lldiv_t lldiv(long long int, long long int)
/usr/local/gcc3/include/g++-v3/bits/std_cstdlib.h:142: lldiv_t
   __gnu_cxx::lldiv(long long int, long long int)
--cut--

... unfortunately this seems to be a result with a problem with gcc3.0 and
glibc2.1.2 header files, so it's not easy to fix with upgrading one or
both of them. :(

-- 
 http://www.eca.cx
 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Aug 18 2001 - 15:29:31 EEST