12-29-2015, 12:17 PM
I tried to compile the EngineGUI and I get this error...
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>E:\Sources\SRCDesign\Engine/Effect/CTag.h(73): warning C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strupr. See online help for details.
1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(252) : see declaration of 'strupr'
1>E:\Sources\SRCDesign\Engine/Effect/CTag.h(74): warning C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strupr. See online help for details.
1> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(252) : see declaration of 'strupr'
At the first with "_WIN32_WINNT not defined I don´t kno what ist to do there? What I have to do there or it is okey that he use the Default to _WIN32_WINNT_MAXVER. If this isn´t right what I have to do at this point?
I tried to write into the CTag.h to replace 'strupr' to '_strupr'
After that he says that I have to use '_strupr_s'. But If I replace it to this string vs2010 get an error again.
After I include "LCCRC32.h" from Server/ShareLib or from SRCDESIGN/Include I get more errors...
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(504): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(505): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(505): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(514): error C2062: type 'unsigned char' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(515): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(515): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(523): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(524): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(524): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(531): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(532): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(532): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(542): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(543): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(543): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(551): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(552): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(552): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(560): error C2062: type 'int' unexpected
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(561): error C2143: syntax error : missing ';' before '{'
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(561): error C2447: '{' : missing function header (old-style formal list?)
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(570): error C2653: 'CNetMsg' : is not a class or namespace name
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(570): error C2065: 'SP' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(570): error C2065: 'msg' : undeclared identifier
1>e:\sources\srcdesign\common\packet\ptype_char_status.h(571): error C2448: 'GuildRoomRecallRequestMsg' : function-style initializer appears to be a function definition
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2182: 'makeFirstMoney' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2433: 'makeFirstMoney' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(219): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(220): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(220): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2182: 'makeFirstMoneyInStash' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2433: 'makeFirstMoneyInStash' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(229): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(230): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(230): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2182: 'makeUpdateMoney' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2433: 'makeUpdateMoney' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(239): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(240): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(240): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2146: syntax error : missing ')' before identifier 'nas'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2182: 'makeUpdateMoneyInStash' : illegal use of type 'void'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2433: 'makeUpdateMoneyInStash' : 'inline' not permitted on data declarations
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2078: too many initializers
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2275: 'LONGLONG' : illegal use of this type as an expression
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(645) : see declaration of 'LONGLONG'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(249): error C2059: syntax error : ')'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(250): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(250): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2065: 'SP' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2065: 'msg' : undeclared identifier
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(259): error C2062: type 'int' unexpected
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(260): error C2143: syntax error : missing ';' before '{'
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(260): error C2447: '{' : missing function header (old-style formal list?)
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(269): error C2653: 'CNetMsg' : is not a class or namespace name
1>E:\Sources\SRCDesign\Common/Packet/ptype_inventory.h(269): fatal error C1003: error count exceeds 100; stopping compilation
What I have to do now to fix this error?
Thank you very much for your help.

