disable C4146
http://msdn.microsoft.com/library/vstudio/4kh09110
change "char temp[len]" to "char* temp = (char*)malloc(len)", VS2012 not support C99
LNK4006