<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Yes. As a test, I renamed config.h to config.h.old and the compiler issued 25 errors stating that it could not find config.h.<BR></DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Jean-Marc Valin &lt;jean-marc.valin@usherbrooke.ca&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Mike Hooper Hooper &lt;mihooper@bellsouth.net&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> celt-dev@xiph.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tue, July 6, 2010 7:35:31 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [CELT-dev] V0.8.0 Problems<BR></FONT><BR>Are you sure you've also compiline with HAVE_CONFIG_H, i.e. did you <BR>check that your config.h actually get included?<BR><BR>&nbsp;&nbsp;&nbsp; Jean-Marc<BR><BR>On 10-07-06 07:16 PM, Mike Hooper Hooper wrote:<BR>&gt; Jean-Marc,<BR>&gt; I have a few more that could be similar:<BR>&gt; In celt.c, in celt_decode_float, in the return statement<BR>&gt; "*return* celt_decode_with_ec_float(st, data, len, pcm, frame_size,<BR>&gt; *NULL*);"<BR>&gt;<BR>&gt; ...my compiler says<BR>&gt;<BR>&gt; "argument
 of type "float *" is incompatible with parameter of type<BR>&gt; "celt_sig *restrict" libcelt80/libcelt celt.c line 1888 1278457880500 9106<BR>&gt;<BR>&gt; However, in my config.h file I have :<BR>&gt;<BR>&gt; * *<BR>&gt;<BR>&gt; *#define* DISABLE_FLOAT_API<BR>&gt;<BR>&gt; * *<BR>&gt;<BR>&gt; *#define* FIXED_POINT<BR>&gt;<BR>&gt; Did I miss a #define somewhere?<BR>&gt;<BR>&gt; thx<BR>&gt;<BR>&gt; Mike<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; *From:* Jean-Marc Valin &lt;<A href="mailto:jean-marc.valin@usherbrooke.ca" ymailto="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</A>&gt;<BR>&gt; *To:* Mike Hooper Hooper &lt;<A href="mailto:mihooper@bellsouth.net" ymailto="mailto:mihooper@bellsouth.net">mihooper@bellsouth.net</A>&gt;<BR>&gt; *Cc:* <A href="mailto:celt-dev@xiph.org" ymailto="mailto:celt-dev@xiph.org">celt-dev@xiph.org</A><BR>&gt; *Sent:* Tue,
 July 6, 2010 7:04:42 PM<BR>&gt; *Subject:* Re: [CELT-dev] V0.8.0 Problems<BR>&gt;<BR>&gt; Hi Mike,<BR>&gt;<BR>&gt; Thanks again on that other bug. It turns out that on most platforms<BR>&gt; "celt_int32" is the same as "int" so the compiler doesn't complain.<BR>&gt; Unfortunately, I haven't found any way to test for these kinds of issues<BR>&gt; that happen only on 16-bit platforms and I've had to rely on people like<BR>&gt; you compiling on such platforms. Let me know if you find anything else.<BR>&gt; This one is now fixed in git.<BR>&gt;<BR>&gt; Thanks,<BR>&gt;<BR>&gt; Jean-Marc<BR>&gt;<BR>&gt; On 10-07-06 06:22 PM, Mike Hooper Hooper wrote:<BR>&gt;&nbsp; &gt; Jean-Marc,<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; I wish I could take credit for finding the bug, but I'll have to give<BR>&gt;&nbsp; &gt; credit to my compiler....:)<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Let's now take a look at this code in bands.c<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; "
 quant_band(encode, m, i, X, Y, N, b, spread, tf_change, lowband,<BR>&gt;&nbsp; &gt; resynth, ec, &amp;remaining_bits, LM, norm+M*eBands[i], bandE, 0);"<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; My compiler says:<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; "argument of type "int *" is incompatible with parameter of type<BR>&gt;&nbsp; &gt; "celt_int32 *" libcelt80/libcelt bands.c line 951 1278452093812 9084"<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; I'm not exactly sure where the problem is. Can you see it?<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; MikeH<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; -----Original Message-----<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; From: Jean-Marc Valin [mailto:<A href="mailto:jean-marc.valin@usherbrooke.ca" ymailto="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</A><BR>&gt; &lt;mailto:<A href="mailto:jean-marc.valin@usherbrooke.ca"
 ymailto="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</A>&gt;]<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Sent: Tuesday, July 06, 2010 6:00 PM<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; To: Mike Hooper Hooper<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Cc: <A href="mailto:celt-dev@xiph.org" ymailto="mailto:celt-dev@xiph.org">celt-dev@xiph.org</A> &lt;mailto:<A href="mailto:celt-dev@xiph.org" ymailto="mailto:celt-dev@xiph.org">celt-dev@xiph.org</A>&gt;<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Subject: Re: [CELT-dev] V0.8.0 Problems<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Hi Mike,<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Indeed, you found a bug! I missed it because the symptoms you saw only<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; occurs in fixed-point with compilers that don't have var arrays or<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; alloca(). It's fixed in git now. For now (commit b6a5f9), the git master<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; branch is
 bitstream compatible with 0.8.0. I'll probably issue a 0.8.1<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; bugfix release after we fix any remaining problems you have.<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Cheers,<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; Jean-Marc<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; On 10-07-06 04:52 PM, Mike Hooper Hooper wrote:<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; Tim, et al,<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; I have run into several problems with V0.8.0. I will address them<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; seperately.<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; 1. My compiler is complaining about the following code in celt.c which<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; seems to define metric first as celt_word32, then as celt_word16. Am I<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; mis-interpreting something?<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; VARDECL(celt_word32, metric);<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp;
 &gt; &gt; ALLOC(metric, len, celt_word16);<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; Thx<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; MikeH<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt;<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt;<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt;<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; _______________________________________________<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; celt-dev mailing list<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; <A href="mailto:celt-dev@xiph.org" ymailto="mailto:celt-dev@xiph.org">celt-dev@xiph.org</A> &lt;mailto:<A href="mailto:celt-dev@xiph.org" ymailto="mailto:celt-dev@xiph.org">celt-dev@xiph.org</A>&gt;<BR>&gt;&nbsp; &gt;<BR>&gt;&nbsp; &gt; &gt; http://lists.xiph.org/mailman/listinfo/celt-dev<BR>&gt;&nbsp; &gt;<BR></DIV></DIV></div></body></html>