<div dir="ltr">Hi,<div><br></div><div>I have the same problem as Aymeric, it doesn't compile yet. Yesterday, I tried again to select mingw as default compiler, but I was not able to do it... If you get it, Aymeric, please let me know :)</div>
<div><br></div><div>Thanks,</div><div>Emilio.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/31 Aymeric Zils - Voxler <span dir="ltr"><<a href="mailto:aymeric.zils@voxler.fr" target="_blank">aymeric.zils@voxler.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div>Thanks for the update Paul</div><div><br></div><div>I got your last dev version, but it did not build better with msvc - even after adding yesterday's improvements (f.i. I still had to remove the -Wextra tag in wscript - line 88)</div>
<div>I did not try with mingw yet.</div><div><br></div><div>Now I'm getting to build more and more files by modifying the .c files and declaring all local variables at the beginning of code blocks</div><div><br></div>
<div>I keep you informed of any success.</div><div><br></div><div>Best</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2013/12/31 Paul Brossier <span dir="ltr"><<a href="mailto:piem@piem.org" target="_blank">piem@piem.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div><br>
On 12/30/2013 02:57 PM, Emilio Molina Martínez wrote:<br>
><br>
> Thanks to you! I downloaded mingw, but now... how can I choose mingw<br>
> compiler with waf? It seems that msvc is set by default.<br>
<br>
</div>mmh. I'm not sure really, you need to setup your environment so that CC<br>
point to mingw's gcc.<br>
<br>
I just pushed quite a few changes to the develop branch, trying to get<br>
aubio to build with theses gcc flags:<br>
<br>
-Wall -Wextra -Wstrict-prototypes -Wold-style-definition<br>
-Wmissing-prototypes -Wmissing-declarations<br>
-Wdeclaration-after-statement -Werror<br>
<br>
see <a href="http://stackoverflow.com/a/3099874" target="_blank">http://stackoverflow.com/a/3099874</a><br>
<br>
I didn't change the tests to pass with -Wdeclarartion-after-statement<br>
yet, nor source_avcodec.c. I'm not sure yet, I find it really impairs<br>
the readability of the code, and makes copy-pasting from tests and<br>
examples cumbersome.<br>
<br>
but examples/ and src/ build with the above flags now.<br>
<br>
please let me know if it works any better with msvc!<br>
<br>
Best, Paul<br>
</div></div><div><div><br>
<br><div class="im">
_______________________________________________<br>
aubio-user mailing list<br>
<a href="mailto:aubio-user@aubio.org" target="_blank">aubio-user@aubio.org</a><br>
<a href="https://lists.aubio.org/listinfo/aubio-user" target="_blank">https://lists.aubio.org/listinfo/aubio-user</a><br>
</div></div></div></blockquote></div><br></div></div>
</blockquote></div><br></div>