twinaphex/genesis-next — comment on commit 62ee45296bd1e23ca9dede6461caa59d0d0f7357
File:  line 0
By ekeeke:

Well, you can not say the code base is halfway C89 and C99, it is fully C99 compliant as C99 supports more things than C89 but it's still ANSI C (modern) standard, so I see no reasons why it would improve consistency if any, neither code clarity.

Anyway, as for commentaries, I prefer having them in C style (/*) so I guess I could at least fix that (although there seems to be a lot of them in the original CPU cores so it's going to be painful), but I don't like the idea of rewriting the whole code to move variable declarations at the start of function blocks when I basically did the opposite quite everywhere on purpose for optimization. As I said, I'm not sure how various compilers handle this and if they won't produce unnecessary instructions to initialize registers or stack variables ...

Now, if you could list what is needed to be compliant with MSVC compiler (only stuff that produce errors, not warnings that does not prevent from compiling the binary), I will have a look, although it would feel a little awkward to step back into an older language standard just because a single compiler does not care about "modern" C... isn't it really possible to compile as C++ code (see here: http://msdn.microsoft.com/en-us/library/032xwy55%28v=vs.80%29.aspx ) ?