I've recently cloned the latest revision in the repository (2013) and when I try to compile the addons I keep getting these errors inside the angelscript.h header:
||=== Build: Win32 Debug Static in Addons (compiler: GNU GCC Compiler) ===|
..\include\AS\angelscript.h||In function 'asUINT asGetTypeTraits()':|
..\include\AS\angelscript.h|581|error: 'is_trivially_default_constructible' is not a member of 'std'|
..\include\AS\angelscript.h|581|error: expected primary-expression before '>' token|
..\include\AS\angelscript.h|581|error: '::value' has not been declared|
..\include\AS\angelscript.h|583|error: 'is_trivially_copy_assignable' is not a member of 'std'|
..\include\AS\angelscript.h|583|error: expected primary-expression before '>' token|
..\include\AS\angelscript.h|583|error: '::value' has not been declared|
..\include\AS\angelscript.h|584|error: 'is_trivially_copy_constructible' is not a member of 'std'|
..\include\AS\angelscript.h|584|error: expected primary-expression before '>' token|
..\include\AS\angelscript.h|584|error: '::value' has not been declared|
||=== Build failed: 9 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
I've tried MinGW 4.8.3 and 4.9.1 with -std=c++11 enabled and with Code::Blocks as the IDE. The main AngelScript project compiles successfully but the addons project fails to compile with that error. It's probably a configuration error on my part but just to be sure I don't pull my hair for nothing.