VS 2012 line endings not consistent

I keep getting this message. What kind of line endings are use for VCMI? (win, unix)?

No idea, but I get this message many times, even for same file.
But we can live with it, can’t we?

It was never decided AFAIR.
But it is good to have uniform line endings in the project. So let it be:
use Unix-style line endings. Also, feel free to convert any existing win line endings to unix style.

If you want to fix all the line endings (and any other formatting inconsistencies) in one fell swoop, you could use a program like Artistic Style:

astyle.sourceforge.net/

Erik

Or use some oneliner like:

sed -e 's,\\r$,,' -i **/*.c

:slight_smile: