[CELT-dev] Another thing it might be nice to fix in CELT

Bjoern D. Rasmussen bjoern.d.rasmussen at gmail.com
Tue Mar 1 10:42:59 PST 2011


Hi

In VS2005 Pro I just put in:

#pragma intrinsic(_BitScanReverse)

after the:

# include <intrin.h>

and it compiled.

-- Bjoern

On Tue, Mar 1, 2011 at 5:59 PM, John Ridges <jridges at masque.com> wrote:

> Hi Jean-Marc,
>
> In the compiler I'm using, Visual Studio 2005 express, the intrinsic
> _BitScanReverse (used in ecintrin.h) isn't defined for a debug build, so
> I have to use ec_ilog for the definition of EC_ILOG. Now maybe that's
> just because I'm using an old compiler and it's not something you need
> to worry about. However, it did point out a problem that if you *do*
> have to use the default "# define EC_ILOG(_x) (ec_ilog(_x))" definition
> of EC_ILOG, you get warnings in the entcode.h header file that "ec_ilog"
> is undefined. That's because the prototype for "ec_ilog" is *after* a
> reference to EC_ILOG in that header file. I fixed it by just moving the
> prototype for "ec_ilog" higher up in entcode.h.
>
> Cheers,
> John Ridges
>
>
> _______________________________________________
> celt-dev mailing list
> celt-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/celt-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20110301/5655e5a4/attachment-0002.htm 


More information about the celt-dev mailing list