<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><p dir="ltr">On Sun, Jan 4, 2015 at 4:30 PM, Aurélien Leblond <<a href="mailto:blablack@gmail.com" target="_blank">blablack@gmail.com</a>> wrote:<br>
>> - Compile this plugin with C99 - that's the solution I have in the git<br>
>> at the moment but I get the warning "cc1plus: warning: command line<br>
>> option ‘-std=c99’ is valid for C/ObjC but not for C++ [enabled by<br>
>> default]" and call me pedantic but I don't like warnings!<br></p></div></div></blockquote></div><div>As far as I can tell, you're passing the -std=c99 flags to a C++ compiler. Make your build-system use a C compiler for said C file (generally renaming the extension to .c instead of .cpp/.cxx is enough). </div><div><br></div><div>Also ensure you're passing the flags to CFLAGS and not CXXFLAGS.</div><div><br></div><div>Hope that fixes the warnings! Cheers, -Harry</div><div><br></div>-- <br><div><br><a href="http://www.openavproductions.com" target="_blank">http://www.openavproductions.com</a></div>
</div></div>