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 &lt;intrin.h&gt;</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">&lt;<a href="mailto:jridges@masque.com">jridges@masque.com</a>&gt;</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&#39;m using, Visual Studio 2005 express, the intrinsic<br>
_BitScanReverse (used in ecintrin.h) isn&#39;t defined for a debug build, so<br>
I have to use ec_ilog for the definition of EC_ILOG. Now maybe that&#39;s<br>
just because I&#39;m using an old compiler and it&#39;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 &quot;# define EC_ILOG(_x) (ec_ilog(_x))&quot; definition<br>
of EC_ILOG, you get warnings in the entcode.h header file that &quot;ec_ilog&quot;<br>
is undefined. That&#39;s because the prototype for &quot;ec_ilog&quot; is *after* a<br>
reference to EC_ILOG in that header file. I fixed it by just moving the<br>
prototype for &quot;ec_ilog&quot; 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>