Hi<div><br></div><div>In VS2005 Pro I just put in:</div><div><div><br></div><div>#pragma intrinsic(_BitScanReverse)</div><div><br></div><div>after the:</div><div><br></div><div># include <intrin.h></div><div><br></div>
<div>and it compiled.</div><div><br></div><div>-- Bjoern</div><br><div class="gmail_quote">On Tue, Mar 1, 2011 at 5:59 PM, John Ridges <span dir="ltr"><<a href="mailto:jridges@masque.com">jridges@masque.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Jean-Marc,<br>
<br>
In the compiler I'm using, Visual Studio 2005 express, the intrinsic<br>
_BitScanReverse (used in ecintrin.h) isn't defined for a debug build, so<br>
I have to use ec_ilog for the definition of EC_ILOG. Now maybe that's<br>
just because I'm using an old compiler and it's not something you need<br>
to worry about. However, it did point out a problem that if you *do*<br>
have to use the default "# define EC_ILOG(_x) (ec_ilog(_x))" definition<br>
of EC_ILOG, you get warnings in the entcode.h header file that "ec_ilog"<br>
is undefined. That's because the prototype for "ec_ilog" is *after* a<br>
reference to EC_ILOG in that header file. I fixed it by just moving the<br>
prototype for "ec_ilog" higher up in entcode.h.<br>
<br>
Cheers,<br>
John Ridges<br>
<br>
<br>
_______________________________________________<br>
celt-dev mailing list<br>
<a href="mailto:celt-dev@xiph.org">celt-dev@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/celt-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/celt-dev</a><br>
</blockquote></div><br></div>