Package: libc6-dev
Version: 2.3.1-5
Severity: normal

Libc documentation states that trunc() function is declared in math.h.
However, math.h provided by current libc6-dev does not declared in
math.h or any header included from math.h

> cat x.cpp
#include <math.h>
int main()
{
        double d = trunc(3.5);
        return d==3.0;
}
> g++ -c x.cpp
x.cpp: In function `int main()':
x.cpp:4: implicit declaration of function `int trunc(...)'


-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux zigzag 2.4.19 #1 ِشخ َدر 22 12:31:50 MSK 2002 i686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R

Versions of packages libc6-dev depends on:
ii  libc6                         2.3.1-5    GNU C Library: Shared libraries an

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to