Displaying 2 results from an estimated 2 matches for "__no_math_inlines".
Did you mean:
d__no_math_inlines
2000 Jun 26
1
Re: [vorbis] bug in glibc 2.1.2 and older
Hello,
I have solved this problem in the splay mp3 decoder with this:
In the header:
#if (__GNUC__ < 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ < 91 ) )
#warning "inline code disabled! (buggy egcs version)"
#undef __NO_MATH_INLINES
#define __NO_MATH_INLINES 1
#endif
#include <math.h>
In the makefile:
CXXFLAGS=@CXXFLAGS@ -fno-strength-reduce
(Opt level is 2)
and in the excutable:
pow(6.0,3.0);
Then it did work.
regards,
Martin
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: h...
2002 Jul 09
1
broken inline exp in glibc/x86??!
I read the following in acinclude.m4:
## R_PROG_CC_FLAG_D__NO_MATH_INLINES
## ---------------------------
## In current glibc, inline version [x86] of exp is broken.
## We fix this by adding '-D__NO_MATH_INLINES' to R_XTRA_CFLAGS rather
## than AC_DEFINE(__NO_MATH_INLINES) as the former also takes care of
## compiling C code for add-on packages.
Is this documente...