Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Service/daemon for Ultimate++  () 1 Vote
Service/daemon for Ultimate++ [message #9481] Fri, 11 May 2007 12:24 Go to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
HI all,

i have implemented an interface for Ultimate++ to daemon on Posix and Services on Windows

first some examlpes to wetten your apetite:
#include <Service/Service.h>

using namespace Upp;
char UPP_SERVICE_NAME[]="Simple Service Test";
bool run;

SERVICE_ON_STATE_CHANGE {
	switch(state) {
		case SERVICE_START:
			LOG("let's rock");
			run=true;
			break;
		case SERVICE_PAUSE:
			LOG("i need a pause");
			break;
		case SERVICE_CONTINUE:
			LOG("lets go on");
			break;
		case SERVICE_TERMINATE:
			LOG("i am out of here");
			run=false;
			break;
		default:
			break;
	}
}

SERVICE_APP_MAIN {
	LOG("this is a debug message");
	while(run);
		sleep(100);
}


get it here

thought and suggestions are welcome!
Bas
PS: to install it on windows just run the app with parameter 'i' for install and 'u' for uninstall
Re: Service/daemon for Ultimate++ [message #9482 is a reply to message #9481] Fri, 11 May 2007 13:44 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

great work Bas. Mabe you could create a project template for it?
I would also add a macro for service title so one could instead of:
char UPP_SERVICE_NAME[]="Simple Service Test";

write
SERVICE_NAME("Simple Service Test");

I would also hide "run" code inside a service implementation as it seems to be common for most cases.
Re: Service/daemon for Ultimate++ [message #9483 is a reply to message #9482] Fri, 11 May 2007 14:41 Go to previous messageGo to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
Hi Daniel,
thanks for the suggestions,

I wanted to have it out as fast as possible so it can be tested very soon, by possibly many users.

I will create the Name Makro and now you, Tom and me thought about a high-level Interface which implements the "run-stuff" and maybee even more.

I will leave it the way it is and add a higher-level interface just adding a "SIMPLE_SERVICE_APP_MAIN" makro.

Bas

Re: Service/daemon for Ultimate++ [message #13482 is a reply to message #9483] Thu, 10 January 2008 18:36 Go to previous messageGo to next message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
This is great. Very very useful. Thank you!
Re: Service/daemon for Ultimate++ [message #15758 is a reply to message #13482] Wed, 07 May 2008 10:30 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

I tried compiling smallrpcserver an have this error:
c:\upp\uppsrc\web\ssl\WebSSL.h(Cool : fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such file or directory
Where I can get open ssl or how can i configured (in build metonds?)
Help me please.
Thank you
Re: Service/daemon for Ultimate++ [message #15764 is a reply to message #15758] Wed, 07 May 2008 14:10 Go to previous messageGo to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Openssl can be obtained here (for windows) and in theIDE in Setup menu -> Build Methods... you can add lib and include directories for openssl.

cdabbd745f1234c2751ee1f932d1dd75

[Updated on: Wed, 07 May 2008 14:13]

Report message to a moderator

Re: Service/daemon for Ultimate++ [message #15789 is a reply to message #15764] Wed, 07 May 2008 22:52 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

I downloaded and set in built method, but i have this errors:
----- Core ( MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (1 / 7)
----- Web/SSL ( MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (2 / 7)
----- XmlRpc ( MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (3 / 7)
BLITZ: ValueXmlConvert.cpp XmlRpcCall.cpp XmlRpcClient.cpp XmlRpcParser.cpp XmlRpcSysMethods.cpp XmlRpcServer.cpp
----- plugin\z ( MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (4 / 7)
----- Web ( MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (5 / 7)
----- ValueMap ( MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (6 / 7)
----- smallrpcserver ( MAIN MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (7 / 7)
$blitz.cpp
C:\MyApps\ValueMap/ValueMap.h(7) : error C2504: 'AssignValueTypeNo' : base class undefined
C:\MyApps\ValueMap/ValueMap.h(7) : error C2143: syntax error : missing ',' before '<'
C:\MyApps\ValueMap/ValueMap.h(Cool : error C2653: 'Value' : is not a class or namespace name
C:\MyApps\ValueMap/ValueMap.h(Cool : error C2504: 'Void' : base class undefined
C:\MyApps\ValueMap/ValueMap.h(9) : error C2146: syntax error : missing ';' before identifier 'GetType'
C:\MyApps\ValueMap/ValueMap.h(9) : error C2433: 'ValueMap::Data::dword' : 'virtual' not permitted on data declarations
C:\MyApps\ValueMap/ValueMap.h(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(9) : warning C4183: 'GetType': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(11) : error C2061: syntax error : identifier 'Stream'
C:\MyApps\ValueMap/ValueMap.h(13) : error C2653: 'Value' : is not a class or namespace name
C:\MyApps\ValueMap/ValueMap.h(13) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(13) : error C2143: syntax error : missing ',' before '*'
C:\MyApps\ValueMap/ValueMap.h(14) : error C2146: syntax error : missing ';' before identifier 'AsString'
C:\MyApps\ValueMap/ValueMap.h(14) : error C2433: 'ValueMap::Data::String' : 'virtual' not permitted on data declarations
C:\MyApps\ValueMap/ValueMap.h(14) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(14) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(14) : warning C4183: 'AsString': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(18) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(18) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(18) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(23) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(23) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(24) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(24) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2143: syntax error : missing ')' before '<'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2460: 'ValueMap::VectorMap' : uses 'ValueMap', which is being defined
C:\MyApps\ValueMap/ValueMap.h(7) : see declaration of 'ValueMap'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2071: 'ValueMap::VectorMap' : illegal storage class
C:\MyApps\ValueMap/ValueMap.h(29) : error C2059: syntax error : ')'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2059: syntax error : '<cv-qualifer>'
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(35) : error C2833: 'operator Value' is not a recognized operator or type
C:\MyApps\ValueMap/ValueMap.h(35) : error C2059: syntax error : 'newline'
C:\MyApps\ValueMap/ValueMap.h(35) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(36) : error C2059: syntax error : '<cv-qualifer>'
C:\MyApps\ValueMap/ValueMap.h(36) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(38) : error C2059: syntax error : '<cv-qualifer>'
C:\MyApps\ValueMap/ValueMap.h(38) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(46) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(47) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(47) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(49) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(49) : error C2535: 'void ValueMap::Remove(int)' : member function already defined or declared
C:\MyApps\ValueMap/ValueMap.h(48) : see declaration of 'ValueMap::Remove'
C:\MyApps\ValueMap/ValueMap.h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(50) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(50) : warning C4183: 'Get': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(51) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(51) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(51) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(51) : warning C4183: 'GetKey': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(52) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(52) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(52) : error C2535: 'int &ValueMap::Get(int) const' : member function already defined or declared
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Get'
C:\MyApps\ValueMap/ValueMap.h(52) : warning C4183: 'Get': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(53) : error C2373: 'ValueMap::VectorMap' : redefinition; different type modifiers
C:\MyApps\ValueMap/ValueMap.h(29) : see declaration of 'ValueMap::VectorMap'
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
C:\MyApps\ValueMap/ValueMap.h(55) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(55) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(55) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(55) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(55) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(56) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(56) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2535: 'int &ValueMap::operator [](int) const' : member function already defined or declared
C:\MyApps\ValueMap/ValueMap.h(55) : see declaration of 'ValueMap::operator []'
C:\MyApps\ValueMap/ValueMap.h(59) : error C2061: syntax error : identifier 'Stream'
C:\MyApps\ValueMap/ValueMap.h(16) : error C2065: 'refcount' : undeclared identifier
C:\MyApps\ValueMap/ValueMap.h(16) : error C3861: 'AtomicRead': identifier not found
C:\MyApps\ValueMap/ValueMap.h(43) : error C2039: 'data' : is not a member of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(Cool : see declaration of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(43) : error C2228: left of '.GetCount' must have class/struct/union
C:\MyApps\ValueMap/ValueMap.h(44) : error C2039: 'data' : is not a member of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(Cool : see declaration of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(44) : error C2228: left of '.IsEmpty' must have class/struct/union
C:\MyApps\ValueMap/ValueMap.h(52) : error C2039: 'data' : is not a member of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(Cool : see declaration of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2228: left of '.Get' must have class/struct/union
C:\MyApps\ValueMap/ValueMap.h(52) : error C2065: 'k' : undeclared identifier
C:\MyApps\ValueMap/ValueMap.h(65) : error C2912: explicit specialization; 'unsigned int GetHashValue(const ValueMap &)' is not a specializati
on of a function template
C:\MyApps\ValueMap/ValueMap.h(66) : error C2912: explicit specialization; 'bool IsNull(const ValueMap &)' is not a specialization of a functi
on template
C:\MyApps\ValueMap/ValueMap.h(69) : error C2146: syntax error : missing ';' before identifier 'AsString'
C:\MyApps\ValueMap/ValueMap.h(69) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(71) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(71) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(71) : error C2065: 'v' : undeclared identifier
C:\MyApps\ValueMap/ValueMap.h(71) : error C2228: left of '.GetType' must have class/struct/union
type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(115) : error C2143: syntax error : missing ';' before 'identifie
r'
C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(115) : warning C4091: 'typedef ' : ignored on left of 'fd_set' w
hen no variable is declared
C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(115) : fatal error C1075: end of file found before the left brac
e '{' at 'C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(81)' was matched
XmlRpc: 6 file(s) built in (0:01.31), 219 msecs / file, duration = 2563 msecs, parallelization 89%
ier
C:\MyApps\ValueMap\ValueMap.cpp(4) : error C2275: 'ValueMap::NullData' : illegal use of this type as an expression
C:\MyApps\ValueMap\ValueMap.cpp(4) : error C2988: unrecognizable template declaration/definition
C:\MyApps\ValueMap\ValueMap.cpp(4) : error C2059: syntax error : ')'
C:\MyApps\ValueMap\ValueMap.cpp(7) : error C2065: 'Stream' : undeclared identifier
C:\MyApps\ValueMap\ValueMap.cpp(7) : error C2065: 's' : undeclared identifier
C:\MyApps\ValueMap\ValueMap.cpp(7) : error C2448: 'ValueMap::Data::Serialize' : function-style initializer appears to be a function definitio
n
C:\MyApps\ValueMap\ValueMap.cpp(12) : error C2065: 'CombineHash' : undeclared identifier
C:\MyApps\ValueMap\ValueMap.cpp(12) : error C2146: syntax error : missing ';' before identifier 'w'
C:\MyApps\ValueMap\ValueMap.cpp(12) : error C2327: 'ValueMap::data' : is not a type name, static, or enumerator
C:\MyApps\ValueMap\ValueMap.cpp(12) : error C2228: left of '.GetCount' must have class/struct/union
type is ''unknown-type''
C:\MyApps\ValueMap\ValueMap.cpp(12) : error C3861: 'w': identifier not found
C:\MyApps\ValueMap\ValueMap.cpp(13) : error C2327: 'ValueMap::data' : is not a type name, static, or enumerator
C:\MyApps\ValueMap\ValueMap.cpp(13) : error C2228: left of '.GetCount' must have class/struct/union
type is ''unknown-type''
C:\MyApps\ValueMap\ValueMap.cpp(14) : error C2228: left of '.Put' must have class/struct/union
type is ''unknown-type''
C:\MyApps\ValueMap\ValueMap.cpp(14) : error C2327: 'ValueMap::data' : is not a type name, static, or enumerator
C:\MyApps\ValueMap\ValueMap.cpp(14) : error C2228: left of '.GetHashValue' must have class/struct/union
C:\MyApps\ValueMap\ValueMap.cpp(14) : fatal error C1003: error count exceeds 100; stopping compilation
ValueMap.cpp
c:\myapps\valuemap\ValueMap.h(7) : error C2504: 'AssignValueTypeNo' : base class undefined
c:\myapps\valuemap\ValueMap.h(7) : error C2143: syntax error : missing ',' before '<'
c:\myapps\valuemap\ValueMap.h(Cool : error C2653: 'Value' : is not a class or namespace name
c:\myapps\valuemap\ValueMap.h(Cool : error C2504: 'Void' : base class undefined
c:\myapps\valuemap\ValueMap.h(9) : error C2146: syntax error : missing ';' before identifier 'GetType'
c:\myapps\valuemap\ValueMap.h(9) : error C2433: 'ValueMap::Data::dword' : 'virtual' not permitted on data declarations
c:\myapps\valuemap\ValueMap.h(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(9) : warning C4183: 'GetType': missing return type; assumed to be a member function returning 'int'
c:\myapps\valuemap\ValueMap.h(11) : error C2061: syntax error : identifier 'Stream'
c:\myapps\valuemap\ValueMap.h(13) : error C2653: 'Value' : is not a class or namespace name
c:\myapps\valuemap\ValueMap.h(13) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(13) : error C2143: syntax error : missing ',' before '*'
c:\myapps\valuemap\ValueMap.h(14) : error C2146: syntax error : missing ';' before identifier 'AsString'
c:\myapps\valuemap\ValueMap.h(14) : error C2433: 'ValueMap::Data::String' : 'virtual' not permitted on data declarations
c:\myapps\valuemap\ValueMap.h(14) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(14) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(14) : warning C4183: 'AsString': missing return type; assumed to be a member function returning 'int'
c:\myapps\valuemap\ValueMap.h(18) : error C2143: syntax error : missing ';' before '<'
c:\myapps\valuemap\ValueMap.h(18) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(18) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(23) : error C2143: syntax error : missing ';' before '<'
c:\myapps\valuemap\ValueMap.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(23) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(24) : error C2143: syntax error : missing ';' before '<'
c:\myapps\valuemap\ValueMap.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(24) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(29) : error C2143: syntax error : missing ')' before '<'
c:\myapps\valuemap\ValueMap.h(29) : error C2143: syntax error : missing ';' before '<'
c:\myapps\valuemap\ValueMap.h(29) : error C2460: 'ValueMap::VectorMap' : uses 'ValueMap', which is being defined
c:\myapps\valuemap\ValueMap.h(7) : see declaration of 'ValueMap'
c:\myapps\valuemap\ValueMap.h(29) : error C2071: 'ValueMap::VectorMap' : illegal storage class
c:\myapps\valuemap\ValueMap.h(29) : error C2059: syntax error : ')'
c:\myapps\valuemap\ValueMap.h(29) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(30) : error C2059: syntax error : '<cv-qualifer>'
c:\myapps\valuemap\ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(30) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(35) : error C2833: 'operator Value' is not a recognized operator or type
c:\myapps\valuemap\ValueMap.h(35) : error C2059: syntax error : 'newline'
c:\myapps\valuemap\ValueMap.h(35) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(36) : error C2059: syntax error : '<cv-qualifer>'
c:\myapps\valuemap\ValueMap.h(36) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(38) : error C2059: syntax error : '<cv-qualifer>'
c:\myapps\valuemap\ValueMap.h(38) : error C2238: unexpected token(s) preceding ';'
c:\myapps\valuemap\ValueMap.h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(46) : error C2143: syntax error : missing ',' before '&'
c:\myapps\valuemap\ValueMap.h(47) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(47) : error C2143: syntax error : missing ',' before '&'
c:\myapps\valuemap\ValueMap.h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(49) : error C2143: syntax error : missing ',' before '&'
c:\myapps\valuemap\ValueMap.h(49) : error C2535: 'void ValueMap::Remove(int)' : member function already defined or declared
c:\myapps\valuemap\ValueMap.h(48) : see declaration of 'ValueMap::Remove'
c:\myapps\valuemap\ValueMap.h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(50) : error C2143: syntax error : missing ';' before '&'
c:\myapps\valuemap\ValueMap.h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(50) : warning C4183: 'Get': missing return type; assumed to be a member function returning 'int'
c:\myapps\valuemap\ValueMap.h(51) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(51) : error C2143: syntax error : missing ';' before '&'
c:\myapps\valuemap\ValueMap.h(51) : error C2086: 'const int ValueMap::Value' : redefinition
c:\myapps\valuemap\ValueMap.h(50) : see declaration of 'ValueMap::Value'
c:\myapps\valuemap\ValueMap.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(51) : warning C4183: 'GetKey': missing return type; assumed to be a member function returning 'int'
c:\myapps\valuemap\ValueMap.h(52) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(52) : error C2143: syntax error : missing ';' before '&'
c:\myapps\valuemap\ValueMap.h(52) : error C2086: 'const int ValueMap::Value' : redefinition
c:\myapps\valuemap\ValueMap.h(50) : see declaration of 'ValueMap::Value'
c:\myapps\valuemap\ValueMap.h(52) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(52) : error C2143: syntax error : missing ',' before '&'
c:\myapps\valuemap\ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(52) : error C2535: 'int &ValueMap::Get(int) const' : member function already defined or declared
c:\myapps\valuemap\ValueMap.h(50) : see declaration of 'ValueMap::Get'
c:\myapps\valuemap\ValueMap.h(52) : warning C4183: 'Get': missing return type; assumed to be a member function returning 'int'
c:\myapps\valuemap\ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(53) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(53) : error C2143: syntax error : missing ';' before '<'
c:\myapps\valuemap\ValueMap.h(53) : error C2373: 'ValueMap::VectorMap' : redefinition; different type modifiers
c:\myapps\valuemap\ValueMap.h(29) : see declaration of 'ValueMap::VectorMap'
c:\myapps\valuemap\ValueMap.h(53) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(53) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
c:\myapps\valuemap\ValueMap.h(55) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(55) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(55) : error C2143: syntax error : missing ';' before '&'
c:\myapps\valuemap\ValueMap.h(55) : error C2086: 'const int ValueMap::Value' : redefinition
c:\myapps\valuemap\ValueMap.h(50) : see declaration of 'ValueMap::Value'
c:\myapps\valuemap\ValueMap.h(55) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(56) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(56) : error C2143: syntax error : missing ';' before '&'
c:\myapps\valuemap\ValueMap.h(56) : error C2086: 'const int ValueMap::Value' : redefinition
c:\myapps\valuemap\ValueMap.h(50) : see declaration of 'ValueMap::Value'
c:\myapps\valuemap\ValueMap.h(56) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
c:\myapps\valuemap\ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(56) : error C2143: syntax error : missing ',' before '&'
c:\myapps\valuemap\ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(56) : error C2535: 'int &ValueMap::operator [](int) const' : member function already defined or declared
c:\myapps\valuemap\ValueMap.h(55) : see declaration of 'ValueMap::operator []'
c:\myapps\valuemap\ValueMap.h(59) : error C2061: syntax error : identifier 'Stream'
c:\myapps\valuemap\ValueMap.h(16) : error C2065: 'refcount' : undeclared identifier
c:\myapps\valuemap\ValueMap.h(16) : error C3861: 'AtomicRead': identifier not found
c:\myapps\valuemap\ValueMap.h(43) : error C2039: 'data' : is not a member of 'ValueMap::Data'
c:\myapps\valuemap\ValueMap.h(Cool : see declaration of 'ValueMap::Data'
c:\myapps\valuemap\ValueMap.h(43) : error C2228: left of '.GetCount' must have class/struct/union
c:\myapps\valuemap\ValueMap.h(44) : error C2039: 'data' : is not a member of 'ValueMap::Data'
c:\myapps\valuemap\ValueMap.h(Cool : see declaration of 'ValueMap::Data'
c:\myapps\valuemap\ValueMap.h(44) : error C2228: left of '.IsEmpty' must have class/struct/union
c:\myapps\valuemap\ValueMap.h(52) : error C2039: 'data' : is not a member of 'ValueMap::Data'
c:\myapps\valuemap\ValueMap.h(Cool : see declaration of 'ValueMap::Data'
c:\myapps\valuemap\ValueMap.h(52) : error C2228: left of '.Get' must have class/struct/union
c:\myapps\valuemap\ValueMap.h(52) : error C2065: 'k' : undeclared identifier
c:\myapps\valuemap\ValueMap.h(65) : error C2912: explicit specialization; 'unsigned int GetHashValue(const ValueMap &)' is not a specializati
on of a function template
c:\myapps\valuemap\ValueMap.h(66) : error C2912: explicit specialization; 'bool IsNull(const ValueMap &)' is not a specialization of a functi
on template
c:\myapps\valuemap\ValueMap.h(69) : error C2146: syntax error : missing ';' before identifier 'AsString'
c:\myapps\valuemap\ValueMap.h(69) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(71) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\myapps\valuemap\ValueMap.h(71) : error C2143: syntax error : missing ',' before '&'
c:\myapps\valuemap\ValueMap.h(71) : error C2065: 'v' : undeclared identifier
c:\myapps\valuemap\ValueMap.h(71) : error C2228: left of '.GetType' must have class/struct/union
type is ''unknown-type''
C:\MyApps\ValueMap\ValueMap.cpp(4) : error C2065: 'Single' : undeclared identifValueMap: 1 file(s) built in (0:00.99), 991 msecs / file, dura
tion = 2172 msecs, parallelization 100%
smallserver.cpp
C:\MyApps\ValueMap/ValueMap.h(7) : error C2504: 'AssignValueTypeNo' : base class undefined
C:\MyApps\ValueMap/ValueMap.h(7) : error C2143: syntax error : missing ',' before '<'
C:\MyApps\ValueMap/ValueMap.h(Cool : error C2653: 'Value' : is not a class or namespace name
C:\MyApps\ValueMap/ValueMap.h(Cool : error C2504: 'Void' : base class undefined
C:\MyApps\ValueMap/ValueMap.h(9) : error C2146: syntax error : missing ';' before identifier 'GetType'
C:\MyApps\ValueMap/ValueMap.h(9) : error C2433: 'ValueMap::Data::dword' : 'virtual' not permitted on data declarations
C:\MyApps\ValueMap/ValueMap.h(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(9) : warning C4183: 'GetType': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(11) : error C2061: syntax error : identifier 'Stream'
C:\MyApps\ValueMap/ValueMap.h(13) : error C2653: 'Value' : is not a class or namespace name
C:\MyApps\ValueMap/ValueMap.h(13) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(13) : error C2143: syntax error : missing ',' before '*'
C:\MyApps\ValueMap/ValueMap.h(14) : error C2146: syntax error : missing ';' before identifier 'AsString'
C:\MyApps\ValueMap/ValueMap.h(14) : error C2433: 'ValueMap::Data::String' : 'virtual' not permitted on data declarations
C:\MyApps\ValueMap/ValueMap.h(14) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(14) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(14) : warning C4183: 'AsString': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(18) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(18) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(18) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(23) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(23) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(24) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(24) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2143: syntax error : missing ')' before '<'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2460: 'ValueMap::VectorMap' : uses 'ValueMap', which is being defined
C:\MyApps\ValueMap/ValueMap.h(7) : see declaration of 'ValueMap'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2071: 'ValueMap::VectorMap' : illegal storage class
C:\MyApps\ValueMap/ValueMap.h(29) : error C2059: syntax error : ')'
C:\MyApps\ValueMap/ValueMap.h(29) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2059: syntax error : '<cv-qualifer>'
C:\MyApps\ValueMap/ValueMap.h(30) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(30) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(35) : error C2833: 'operator Value' is not a recognized operator or type
C:\MyApps\ValueMap/ValueMap.h(35) : error C2059: syntax error : 'newline'
C:\MyApps\ValueMap/ValueMap.h(35) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(36) : error C2059: syntax error : '<cv-qualifer>'
C:\MyApps\ValueMap/ValueMap.h(36) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(38) : error C2059: syntax error : '<cv-qualifer>'
C:\MyApps\ValueMap/ValueMap.h(38) : error C2238: unexpected token(s) preceding ';'
C:\MyApps\ValueMap/ValueMap.h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(46) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(47) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(47) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(49) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(49) : error C2535: 'void ValueMap::Remove(int)' : member function already defined or declared
C:\MyApps\ValueMap/ValueMap.h(48) : see declaration of 'ValueMap::Remove'
C:\MyApps\ValueMap/ValueMap.h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(50) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(50) : warning C4183: 'Get': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(51) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(51) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(51) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(51) : warning C4183: 'GetKey': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(52) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(52) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(52) : error C2535: 'int &ValueMap::Get(int) const' : member function already defined or declared
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Get'
C:\MyApps\ValueMap/ValueMap.h(52) : warning C4183: 'Get': missing return type; assumed to be a member function returning 'int'
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::VectorMap' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C2143: syntax error : missing ';' before '<'
C:\MyApps\ValueMap/ValueMap.h(53) : error C2373: 'ValueMap::VectorMap' : redefinition; different type modifiers
C:\MyApps\ValueMap/ValueMap.h(29) : see declaration of 'ValueMap::VectorMap'
C:\MyApps\ValueMap/ValueMap.h(53) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(53) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
C:\MyApps\ValueMap/ValueMap.h(55) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(55) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(55) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(55) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(55) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2143: syntax error : missing ';' before '&'
C:\MyApps\ValueMap/ValueMap.h(56) : error C2086: 'const int ValueMap::Value' : redefinition
C:\MyApps\ValueMap/ValueMap.h(50) : see declaration of 'ValueMap::Value'
C:\MyApps\ValueMap/ValueMap.h(56) : error C2327: 'ValueMap::Value' : is not a type name, static, or enumerator
C:\MyApps\ValueMap/ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(56) : error C2535: 'int &ValueMap::operator [](int) const' : member function already defined or declared
C:\MyApps\ValueMap/ValueMap.h(55) : see declaration of 'ValueMap::operator []'
C:\MyApps\ValueMap/ValueMap.h(59) : error C2061: syntax error : identifier 'Stream'
C:\MyApps\ValueMap/ValueMap.h(16) : error C2065: 'refcount' : undeclared identifier
C:\MyApps\ValueMap/ValueMap.h(16) : error C3861: 'AtomicRead': identifier not found
C:\MyApps\ValueMap/ValueMap.h(43) : error C2039: 'data' : is not a member of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(Cool : see declaration of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(43) : error C2228: left of '.GetCount' must have class/struct/union
C:\MyApps\ValueMap/ValueMap.h(44) : error C2039: 'data' : is not a member of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(Cool : see declaration of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(44) : error C2228: left of '.IsEmpty' must have class/struct/union
C:\MyApps\ValueMap/ValueMap.h(52) : error C2039: 'data' : is not a member of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(Cool : see declaration of 'ValueMap::Data'
C:\MyApps\ValueMap/ValueMap.h(52) : error C2228: left of '.Get' must have class/struct/union
C:\MyApps\ValueMap/ValueMap.h(52) : error C2065: 'k' : undeclared identifier
C:\MyApps\ValueMap/ValueMap.h(65) : error C2912: explicit specialization; 'unsigned int GetHashValue(const ValueMap &)' is not a specializati
on of a function template
C:\MyApps\ValueMap/ValueMap.h(66) : error C2912: explicit specialization; 'bool IsNull(const ValueMap &)' is not a specialization of a functi
on template
C:\MyApps\ValueMap/ValueMap.h(69) : error C2146: syntax error : missing ';' before identifier 'AsString'
C:\MyApps\ValueMap/ValueMap.h(69) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(71) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\ValueMap/ValueMap.h(71) : error C2143: syntax error : missing ',' before '&'
C:\MyApps\ValueMap/ValueMap.h(71) : error C2065: 'v' : undeclared identifier
C:\MyApps\ValueMap/ValueMap.h(71) : error C2228: left of '.GetType' must have class/struct/union
type is ''unknown-type''
C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(115) : error C2143: syntax error : missing ';' before 'identifie
r'
C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(115) : warning C4091: 'typedef ' : ignored on left of 'fd_set' w
hen no variable is declared
C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(115) : fatal error C1075: end of file found before the left brac
e '{' at 'C:\Program Files\Microsoft Visual Studio 8\Vc\PlatformSDK\Include\winsock2.h(81)' was matched
smallrpcserver: 1 file(s) built in (0:01.09), 1094 msecs / file, duration = 3125 msecs, parallelization 0%

There were errors. (0:08.84)
Re: Service/daemon for Ultimate++ [message #15796 is a reply to message #15789] Wed, 07 May 2008 23:34 Go to previous messageGo to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
What kind of package is ValueMap?
Could you post a testcase?
I guess you have more packages than needed for Service, until you make a Service which use rpc, and now the problem isn't anymore related to Service. Try a simple example with Service, and if it work, you can open a post with your problems, else if it is related only to Service you can post here.

Andrei


cdabbd745f1234c2751ee1f932d1dd75
Re: Service/daemon for Ultimate++ [message #15833 is a reply to message #15796] Fri, 09 May 2008 22:43 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Yes... I found ValueMap definition class in Core catalog too (Value.h and Value.cpp)!
I use upp2008.1beta2 on win xp sp3.
I tried to remove "#include <ValueMap/ValueMap.h>" from small rpc server and xmlrpc and in result of build have alot of errors.
How I cand do correct? help me please!
John.

Re: Service/daemon for Ultimate++ [message #15848 is a reply to message #15833] Sun, 11 May 2008 22:26 Go to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Here are RPC packages updated (hope correctly) to work with latest u++ version;
  • Attachment: RPC.zip
    (Size: 17.33KB, Downloaded 357 times)


cdabbd745f1234c2751ee1f932d1dd75
Previous Topic: Raster Control
Next Topic: BAZAAR folders restructuration
Goto Forum:
  


Current Time: Thu Mar 28 19:37:11 CET 2024

Total time taken to generate the page: 0.01425 seconds