Re: [ecasound] more gcc3.0 problems

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] more gcc3.0 problems
From: Kai Vehmanen (k_AT_eca.cx)
Date: Sun Sep 23 2001 - 17:13:44 EEST


This is now fixed in CVS (both 2.0 and HEAD). It turned out that gcc3.0
just couldn't handle /usr/include/inttypes.h from glibc2.1.2 (possibly
others, this is the only combination I tested). By including stdint.h
instead of inttypes.h problem is solved.

On Sat, 18 Aug 2001, Kai Vehmanen wrote:

> 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_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Sep 23 2001 - 17:11:42 EEST