[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
In VS2005 Pro I just put in:
# include <intrin.h>
and it compiled.
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.
> John Ridges
> celt-dev mailing list
> celt-dev at xiph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the celt-dev