It looks like you are trying to use mingw to compile Neo.
Be sure to use the mingw version from here: http://sourceforge.net/projects/mingw-w64/?source=directory
The default one is quite old and not supported.
You could also try to use the MS compiler, that should work in any case.
I hope this helps