Subject: misc/28437: lrintf declared twice in math.h
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <pierrick@bs-network.net>
List: netbsd-bugs
Date: 11/27/2004 18:54:01
>Number: 28437
>Category: misc
>Synopsis: lrintf declared twice in math.h
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Sat Nov 27 18:54:01 +0000 2004
>Originator: Pierrick Brossin
>Release: 2.99.10
>Organization:
BS-Network
>Environment:
NetBSD lappy 2.99.10 NetBSD 2.99.10 (LAPPY) #0: Thu Nov 25 18:06:27 CET 2004 root@:/usr/obj/sys/arch/i386/compile/LAPPY i386
>Description:
In /usr/include/math.h:
rintf is declared once as float and once as long int which causes programs to fail when building. (around line 305)
>How-To-Repeat:
I tried to build avidemux and it failed because of that.
>Fix:
I assumed it should be a float so I commented the long int declaration.