<div dir="ltr">On Wed, Jun 5, 2013 at 6:31 PM, Devin Samarin <span dir="ltr"><<a href="mailto:devin@oftn.org" target="_blank">devin@oftn.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><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">
We've fixed a few problems in these patches that break building with<br>
MSVC. Functions with a non-void type need to return something. </blockquote><div><br></div><div style>Thanks.</div><div style> </div><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">
I<br>
recommend -Wall -Werror -Wextra -pedantic for strict<br>
standards-compliance for new code.<br></blockquote><div><br></div><div style>Yes, we do have -Wall.</div><div style><br></div><div style>I was found of -Werror before but now think it is a bad idea in practice -- what is not an warning today may be a warning tomorrow (in particularly true with gcc) -- so baking in -Werror means that will be impossible to compile (and git bisect) the code of yesterday with the compiler of tomorrow.</div>
<div style><br></div><div style>Not sure about -pedantic.</div><div style><br></div><div style>And I typically do testing before merging into master. And when all fails, I have build bots in place for all supported architectures to ensure that at least keep building properly everywhere. </div>
<div style><br></div><div style>Jose</div></div></div></div>