syntax error : missing ';' before identifier 'is_user_defined' ,help

Added by ankye over 8 years ago

i have update the last version source and get the http://dev.ryzom.com/attachments/download/593/external_stlport_lua51.7z
then rebuild ,but when build server.sln, still appear error.
1>------ Build started: Project: client, Configuration: Release Win32 ------
1>Compiling...
1>lua_ihm.cpp
1>d:\code\ryzom\code\ryzom\client\src\interface_v3\../misc.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>D:\code\ryzom\code\nel\include\nel/misc/quat.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\interface_v3\view_renderer.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\interface_v3\view_renderer.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>D:\code\ryzom\code\nel\include\nel/misc/quat.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\client_sheets/animation_set_list_sheet.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\client_sheets/animation_set_list_sheet.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>D:\code\ryzom\code\nel\include\nel/misc/quat.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\client_sheets\animation_set_list_sheet.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\client_sheets/animation_set_list_sheet.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\client_sheets\animation_set_list_sheet.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>D:\code\ryzom\code\nel\include\nel/misc/quat.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\client_sheets\animation_set_list_sheet.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>D:\code\ryzom\code\nel\include\nel/misc/quat.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\interface_v3\view_renderer.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>.\interface_v3\lua_ihm.cpp(463) : error C2146: syntax error : missing ';' before identifier 'is_user_defined'
1>.\interface_v3\lua_ihm.cpp(463) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\interface_v3\lua_ihm.cpp(463) : error C2065: 'by_value' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(463) : error C2275: 'sint8' : illegal use of this type as an expression
1> D:\code\ryzom\code\nel\include\nel/misc/types_nl.h(248) : see declaration of 'sint8'
1>.\interface_v3\lua_ihm.cpp(463) : error C2059: syntax error : ')'
1>.\interface_v3\lua_ihm.cpp(463) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(463) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(463) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(463) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(464) : error C2146: syntax error : missing ';' before identifier 'is_user_defined'
1>.\interface_v3\lua_ihm.cpp(464) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\interface_v3\lua_ihm.cpp(464) : error C2086: 'int luabind::converters::yes_t' : redefinition
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::yes_t'
1>.\interface_v3\lua_ihm.cpp(464) : error C2065: 'by_value' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(464) : error C2275: 'uint8' : illegal use of this type as an expression
1> D:\code\ryzom\code\nel\include\nel/misc/types_nl.h(249) : see declaration of 'uint8'
1>.\interface_v3\lua_ihm.cpp(464) : error C2059: syntax error : ')'
1>.\interface_v3\lua_ihm.cpp(464) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(464) : error C2556: 'uint8 luabind::converters::convert_lua_to_cpp(lua_State *)' : overloaded function differs only by return type from 'sint8 luabind::converters::convert_lua_to_cpp(lua_State *)'
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::convert_lua_to_cpp'
1>.\interface_v3\lua_ihm.cpp(464) : error C2371: 'luabind::converters::convert_lua_to_cpp' : redefinition; different basic types
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::convert_lua_to_cpp'
1>.\interface_v3\lua_ihm.cpp(464) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(464) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(464) : error C2084: function 'int luabind::converters::match_lua_to_cpp(lua_State *)' already has a body
1> .\interface_v3\lua_ihm.cpp(463) : see previous definition of 'match_lua_to_cpp'
1>.\interface_v3\lua_ihm.cpp(464) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(465) : error C2146: syntax error : missing ';' before identifier 'is_user_defined'
1>.\interface_v3\lua_ihm.cpp(465) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\interface_v3\lua_ihm.cpp(465) : error C2086: 'int luabind::converters::yes_t' : redefinition
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::yes_t'
1>.\interface_v3\lua_ihm.cpp(465) : error C2065: 'by_value' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(465) : error C2275: 'sint16' : illegal use of this type as an expression
1> D:\code\ryzom\code\nel\include\nel/misc/types_nl.h(250) : see declaration of 'sint16'
1>.\interface_v3\lua_ihm.cpp(465) : error C2059: syntax error : ')'
1>.\interface_v3\lua_ihm.cpp(465) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(465) : error C2556: 'sint16 luabind::converters::convert_lua_to_cpp(lua_State *)' : overloaded function differs only by return type from 'sint8 luabind::converters::convert_lua_to_cpp(lua_State *)'
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::convert_lua_to_cpp'
1>.\interface_v3\lua_ihm.cpp(465) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(465) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(465) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(466) : error C2146: syntax error : missing ';' before identifier 'is_user_defined'
1>.\interface_v3\lua_ihm.cpp(466) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\interface_v3\lua_ihm.cpp(466) : error C2086: 'int luabind::converters::yes_t' : redefinition
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::yes_t'
1>.\interface_v3\lua_ihm.cpp(466) : error C2065: 'by_value' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(466) : error C2275: 'uint16' : illegal use of this type as an expression
1> D:\code\ryzom\code\nel\include\nel/misc/types_nl.h(251) : see declaration of 'uint16'
1>.\interface_v3\lua_ihm.cpp(466) : error C2059: syntax error : ')'
1>.\interface_v3\lua_ihm.cpp(466) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(466) : error C2556: 'uint16 luabind::converters::convert_lua_to_cpp(lua_State *)' : overloaded function differs only by return type from 'sint8 luabind::converters::convert_lua_to_cpp(lua_State *)'
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::convert_lua_to_cpp'
1>.\interface_v3\lua_ihm.cpp(466) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(466) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(466) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(467) : error C2146: syntax error : missing ';' before identifier 'is_user_defined'
1>.\interface_v3\lua_ihm.cpp(467) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\interface_v3\lua_ihm.cpp(467) : error C2086: 'int luabind::converters::yes_t' : redefinition
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::yes_t'
1>.\interface_v3\lua_ihm.cpp(467) : error C2065: 'by_value' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(467) : error C2275: 'sint32' : illegal use of this type as an expression
1> D:\code\ryzom\code\nel\include\nel/misc/types_nl.h(252) : see declaration of 'sint32'
1>.\interface_v3\lua_ihm.cpp(467) : error C2059: syntax error : ')'
1>.\interface_v3\lua_ihm.cpp(467) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(467) : error C2556: 'sint32 luabind::converters::convert_lua_to_cpp(lua_State *)' : overloaded function differs only by return type from 'sint8 luabind::converters::convert_lua_to_cpp(lua_State *)'
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::convert_lua_to_cpp'
1>.\interface_v3\lua_ihm.cpp(467) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(467) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(467) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(468) : error C2146: syntax error : missing ';' before identifier 'is_user_defined'
1>.\interface_v3\lua_ihm.cpp(468) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\interface_v3\lua_ihm.cpp(468) : error C2086: 'int luabind::converters::yes_t' : redefinition
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::yes_t'
1>.\interface_v3\lua_ihm.cpp(468) : error C2065: 'by_value' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(468) : error C2275: 'uint32' : illegal use of this type as an expression
1> D:\code\ryzom\code\nel\include\nel/misc/types_nl.h(253) : see declaration of 'uint32'
1>.\interface_v3\lua_ihm.cpp(468) : error C2059: syntax error : ')'
1>.\interface_v3\lua_ihm.cpp(468) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(468) : error C2556: 'uint32 luabind::converters::convert_lua_to_cpp(lua_State *)' : overloaded function differs only by return type from 'sint8 luabind::converters::convert_lua_to_cpp(lua_State *)'
1> .\interface_v3\lua_ihm.cpp(463) : see declaration of 'luabind::converters::convert_lua_to_cpp'
1>.\interface_v3\lua_ihm.cpp(468) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(468) : error C2061: syntax error : identifier 'by_value'
1>.\interface_v3\lua_ihm.cpp(468) : error C2065: 'index' : undeclared identifier
1>.\interface_v3\lua_ihm.cpp(1326) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1326) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1327) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1327) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1328) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1328) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1329) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1329) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1330) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1330) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1331) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1331) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1332) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1332) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1333) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1333) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1334) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1334) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1335) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1335) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1336) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1336) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1337) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1337) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1338) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1338) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1339) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1339) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1340) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1340) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1341) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1341) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1342) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1342) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1343) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1343) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1344) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1344) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1345) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1345) : error C3861: 'function': identifier not found
1>.\interface_v3\lua_ihm.cpp(1346) : error C2039: 'function' : is not a member of 'luabind'
1>.\interface_v3\lua_ihm.cpp(1346) : fatal error C1003: error count exceeds 100; stopping compilation
1>lua_helper.cpp
1>d:\code\ryzom\code\ryzom\client\src\interface_v3\../misc.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>D:\code\ryzom\code\nel\include\nel/misc/quat.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\code\ryzom\code\ryzom\client\src\interface_v3\view_renderer.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>Generating Code...
1>Build log was saved at "file://d:\code\ryzom\code\ryzom\obj\Release\client\BuildLog.htm"
1>client - 108 error(s), 18 warning(s) ========== Build: 0 succeeded, 1 failed, 11 up-to-date, 0 skipped ==========

BuildLog.txt - vs2008 build log (35.9 kB) Magnifier


Replies (2)

RE: syntax error : missing ';' before identifier 'is_user_defined' ,help - Added by kervala over 8 years ago

There is no luabind::function anymore in lua_ihm.cpp :( You should have outdated code... You should use "Pull" then "Update" from TortoiseHg.

(1-2/2)