Собираю программу, использующую StlPort 5.0, в vs2008.
Получаю ошибки:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
Error 1 error C2065: '__node_alloc' : undeclared identifier c:code\sdks\stlport\stlport\stl\_alloc.h 184
Error 2 error C2990: 'stlpd_std::__debug_alloc' : non-class template has already been declared as a class template c:\code\sdks\stlport\stlport\stl\_alloc.h 184
Error 3 error C2946: explicit instantiation; 'stlpd_std::__debug_alloc' is not a template-class specialization c:\code\sdks\stlport\stlport\stl\_alloc.h 184
Error 4 error C2059: syntax error : '<' c:\code\sdks\stlport\stlport\stl\_alloc.h 187
Warning 5 warning C4091: 'typedef ' : ignored on left of 'stlpd_std::__node_alloc' when no variable is declared c:\code\sdks\stlport\stlport\stl\_alloc.h 194
Error 6 error C2143: syntax error : missing ';' before '<' c:\code\sdks\stlport\stlport\stl\_alloc.h 194
Error 7 error C2059: syntax error : '<' c:\code\sdks\stlport\stlport\stl\_alloc.h 194
Error 8 error C2146: syntax error : missing ';' before identifier '__alloc_type' c:\code\sdks\stlport\stlport\stl\_alloc.h 256
Error 9 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 256
Error 10 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 256
Error 11 error C2146: syntax error : missing ';' before identifier '__sgi_alloc' c:\code\sdks\stlport\stlport\stl\_alloc.h 262
Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 262
Error 13 error C2378: 'stlpd_std::__alloc_type' : redefinition; symbol cannot be overloaded with a typedef c:\code\sdks\stlport\stlport\stl\_alloc.h 262
Error 14 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 262
Error 15 error C2146: syntax error : missing ';' before identifier '__single_client_alloc' c:\code\sdks\stlport\stlport\stl\_alloc.h 270
Error 16 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 270
Error 17 error C2378: 'stlpd_std::__sgi_alloc' : redefinition; symbol cannot be overloaded with a typedef c:\code\sdks\stlport\stlport\stl\_alloc.h 270
Error 18 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 270
Error 19 error C2146: syntax error : missing ';' before identifier '__multithreaded_alloc' c:\code\sdks\stlport\stlport\stl\_alloc.h 271
Error 20 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 271
Error 21 error C2378: 'stlpd_std::__sgi_alloc' : redefinition; symbol cannot be overloaded with a typedef c:\code\sdks\stlport\stlport\stl\_alloc.h 271
Error 22 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\code\sdks\stlport\stlport\stl\_alloc.h 271
из-за чего это может быть?