Bug#171667: bits/c++config.h incorrect wrt to existence of long double math.h extensions
Package: libstdc++5-dev
Version: 1:3.2.1-0pre3
Severity: normal
(I'm resending this bug, since I'm not sure it went out the first time)
on debian/sparc /usr/include/c++/3.2/sparc-linux/bits/c++config.h states
incorrectly the existence of long double c math functions, thus
including <cmath> causes the following kind of errors:
[..]
/usr/include/c++/3.2/cmath: In function `long double std::acos(long double)':
/usr/include/c++/3.2/cmath:109: `::acosl' undeclared (first use here)
/usr/include/c++/3.2/cmath: In function `long double std::asin(long double)':
/usr/include/c++/3.2/cmath:127: `::asinl' undeclared (first use here)
/usr/include/c++/3.2/cmath: In function `long double std::atan(long double)':
/usr/include/c++/3.2/cmath:145: `::atanl' undeclared (first use here)
/usr/include/c++/3.2/cmath: In function `long double std::atan2(long double, long double)':
[..]
and so on...
regards,
-- System Information
Debian Release: testing/unstable
Architecture: sparc
Kernel: Linux fmadd 2.2.20 #1 Fri Nov 16 15:48:02 EST 2001 sparc
Locale: LANG=C, LC_CTYPE=C
Versions of packages libstdc++5-dev depends on:
ii g++-3.2 1:3.2.1-0pre3 The GNU C++ compiler.
ii gcc-3.2-base 1:3.2.1-0pre3 The GNU Compiler Collection (base
ii libc6-dev 2.2.5-14.3 GNU C Library: Development Librari
ii libstdc++5 1:3.2.1-0pre3 The GNU stdc++ library version 3
--
Herbert Valerio Riedel <hvr@se-linux.ifs.tuwien.ac.at>
SE/Linux LU
Reply to: