The file Selection.cxx needs an additional include: <algorithm>, because Microsoft had cleanup the STL again:
http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes-and-breaking-changes-in-vs-2013.aspx :
* You must #include <algorithm> when calling std::min() or std::max().</algorithm>
I have recompiled scite with the VS2013 preview. After adding #include <algorithm> to Selection.cxx scite compiles fine and works as expected.
Committed fix as [06537f].
Related
Commit: [06537f]