<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 4, 2015 at 4:30 PM, Aurélien Leblond <span dir="ltr"><<a href="mailto:blablack@gmail.com" target="_blank">blablack@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
As far as I can see I have 2 options:<br>
- Port the code to the c++11 standard - but you seem to think that's a bad idea<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></blockquote><div><br><br></div><div>C99 is a *C* language standard, not a C++ language standard. There seems to be some confusion here over what language the code you're trying to compile really is. <br><br>Is it C? Then C99 is appropriate but need a few tweaks. c++11 would not be appropriate.<br><br></div><div>Is it C++? Then C++11 is an option but is also relatively new, and so may or may not be appropriate. C99 is not appropriate for C++ code.<br></div><div> <br></div></div></div></div>