Dominik Stadler wrote:

Hi,

I tried to upgrade from 5.1 to 5.2.1, but get a compilation error on
Windows where I don't know how to solve it.

We are using STLport 4.6.2, I'm not sure if that is related somehow.

These are the first few lines of error-output:

--------------------Configuration: cryptlib - Win32
Debug-------------------- Performing Custom Build Step on
.\adhoc.cpp.proto Compiling...
pch.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocinfo(47) : error
C2146: syntax error : missing ';' before identifier '_Getname' C:\Program
Files\Microsoft Visual Studio\VC98\INCLUDE\xlocinfo(47) : error C2501:
'string' : missing storage-class or type specifiers C:\Program
Files\Microsoft Visual Studio\VC98\INCLUDE\xlocinfo(48) : warning C4183:
'_Getname': member function definition looks like a ctor, but name does
not match enclosing class C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xlocinfo(85) : error C2146: syntax error : missing ';'
before identifier '_Days' C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xlocinfo(85) : error C2501: 'string' : missing
storage-class or type specifiers C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xlocinfo(85) : error C2501: '_Days' : missing
storage-class or type specifiers C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xlocinfo(85) : error C2501: '_Months' : missing
storage-class or type specifiers C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xlocinfo(85) : error C2501: '_Oname' : missing
storage-class or type specifiers C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xlocinfo(85) : error C2501: '_Nname' : missing
storage-class or type specifiers


anybody seen things like this?

Thanks... Dominik



Try to include STLPort headers before any others in project options, maybe would help, also check your pch.cpp file for the errors at the end of it, like a missing semicolon or smth like that :)

Reply via email to