Bug#168888: cmath breakage with g++-3.2
davem: Rumours are Ben was asking you about this. If not, Debian's
having issues with #include <cmath> and g++-3.2 on sparc, see
<http://bugs.debian.org/168888>. Any help would be appreciated obviously.
BenC: Any word on this, yet?
>From the bug report, possible solutions apparently are:
all of the functions that are causing an error need to be wrapped in
"#if __NO_LONG_DOUBLE_MATH - 0" blocks in c++config.h, or in
__WORDSIZE checks. This may mean that sparc needs an arch specific
c++config.h, like it has an arch specific mathdef.h
or
perhaps the sparc specific bits/mathdef.h should be removed instead?
(If you're stupid like me, "#if __NO_LONG_DOUBLE_MATH - 0" is like "#ifndef",
except it treats defining it to 0 the same as not defining it all)
Cheers,
aj
--
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.
``If you don't do it now, you'll be one year older when you do.''
Reply to: