Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 14 Dec 2012 23:47:28 +0400
From: ojab <ojab@...b.ru>
To: musl@...ts.openwall.com
Subject: Re: spandsp build, lrint/sqrt/pow issue

On 14.12.2012 18:21, ojab wrote:
> On 14.12.2012 17:33, Szabolcs Nagy wrote:
>
> Looks like you're right and this is gcc-4.5.4 bug: gcc-4.2.4 on the same
> system builds spandsp without any issues.
>
> //wbr ojab

…and it is still broken with gcc (GCC) 4.8.0 20121209 (experimental)

awgn.c: In function 'awgn_init_dbov':
awgn.c:109:5: error: void value not ignored as it ought to be
      s->rms = pow(10.0, level/20.0)*32768.0;
      ^
awgn.c: In function 'awgn':
awgn.c:165:9: error: void value not ignored as it ought to be
          fac = sqrt(-2.0*log(r)/r);
          ^

Filled http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55695

//wbr ojab

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.