[vorbis-dev] Re: [vorbis] bug in glibc 2.1.2 and older

Martin Vogt mvogt at rhrk.uni-kl.de
Mon Jun 26 07:59:41 PDT 2000



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: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list