<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39401 >

../../dependencies/tolua/tolua -n api -o ./api_gen.c -H ./api_gen.h ./api.pkg
gcc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I../..  -I../../utility -I../../common 
-I../../intl -I../../server -I../../dependencies/lua/src 
-I../../dependencies/tolua -Wall -Wpointer-arith -Wcast-align 
-Wmissing-prototypes -Wmissing-declarations 
-DLOCALEDIR="\"/Users/wastrel/freeciv-test/share/locale\"" 
-DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/Users/wastrel/freeciv-test/share/freeciv\""
  -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations -fsigned-char -MT 
api_gen.o -MD -MP -MF .deps/api_gen.Tpo -c -o api_gen.o api_gen.c
api_gen.c:11:21: tolua++.h: No such file or directory
api_gen.c:14: error: syntax error before "int"
api_gen.c:14: error: parse error before '*' token
api_gen.c:29: error: parse error before '*' token
api_gen.c: In function `tolua_reg_types':
api_gen.c:31: warning: implicit declaration of function `tolua_usertype'
api_gen.c:31: error: `tolua_S' undeclared (first use in this function)
api_gen.c:31: error: (Each undeclared identifier is reported only once
api_gen.c:31: error: for each function it appears in.)
api_gen.c: At top level:
api_gen.c:46: error: parse error before '*' token
api_gen.c: In function `tolua_get_Player_ai_control':
api_gen.c:48: warning: implicit declaration of function `tolua_tousertype'
api_gen.c:48: error: `tolua_S' undeclared (first use in this function)
api_gen.c:50: warning: implicit declaration of function `tolua_error'
api_gen.c:52: warning: implicit declaration of function `tolua_pushboolean'
api_gen.c: At top level:
api_gen.c:59: error: parse error before '*' token
api_gen.c: In function `tolua_set_Player_ai_control':
api_gen.c:61: error: `tolua_S' undeclared (first use in this function)
api_gen.c:63: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:63: error: parse error before "tolua_err"
api_gen.c:65: warning: implicit declaration of function `tolua_isboolean'
api_gen.c:65: error: `tolua_err' undeclared (first use in this function)
api_gen.c:68: warning: implicit declaration of function `tolua_toboolean'
api_gen.c: At top level:
api_gen.c:76: error: parse error before '*' token
api_gen.c: In function `tolua_get_Player_name':
api_gen.c:78: error: `tolua_S' undeclared (first use in this function)
api_gen.c:82: warning: implicit declaration of function `tolua_pushstring'
api_gen.c: At top level:
api_gen.c:89: error: parse error before '*' token
api_gen.c: In function `tolua_get_Player_nation_ptr':
api_gen.c:91: error: `tolua_S' undeclared (first use in this function)
api_gen.c:95: warning: implicit declaration of function `tolua_pushusertype'
api_gen.c: At top level:
api_gen.c:102: error: parse error before '*' token
api_gen.c: In function `tolua_set_Player_nation_ptr':
api_gen.c:104: error: `tolua_S' undeclared (first use in this function)
api_gen.c:106: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:106: error: parse error before "tolua_err"
api_gen.c:108: warning: implicit declaration of function `tolua_isusertype'
api_gen.c:108: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:119: error: parse error before '*' token
api_gen.c: In function `tolua_get_Player_ai':
api_gen.c:121: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:132: error: parse error before '*' token
api_gen.c: In function `tolua_set_Player_ai':
api_gen.c:134: error: `tolua_S' undeclared (first use in this function)
api_gen.c:136: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:136: error: parse error before "tolua_err"
api_gen.c:138: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:149: error: parse error before '*' token
api_gen.c: In function `tolua_get_Player_id':
api_gen.c:151: error: `tolua_S' undeclared (first use in this function)
api_gen.c:155: warning: implicit declaration of function `tolua_pushnumber'
api_gen.c:155: error: `lua_Number' undeclared (first use in this function)
api_gen.c:155: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:162: error: parse error before '*' token
api_gen.c: In function `tolua_get_City_name':
api_gen.c:164: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:175: error: parse error before '*' token
api_gen.c: In function `tolua_get_City_owner_ptr':
api_gen.c:177: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:188: error: parse error before '*' token
api_gen.c: In function `tolua_set_City_owner_ptr':
api_gen.c:190: error: `tolua_S' undeclared (first use in this function)
api_gen.c:192: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:192: error: parse error before "tolua_err"
api_gen.c:194: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:205: error: parse error before '*' token
api_gen.c: In function `tolua_get_City_tile_ptr':
api_gen.c:207: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:218: error: parse error before '*' token
api_gen.c: In function `tolua_set_City_tile_ptr':
api_gen.c:220: error: `tolua_S' undeclared (first use in this function)
api_gen.c:222: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:222: error: parse error before "tolua_err"
api_gen.c:224: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:235: error: parse error before '*' token
api_gen.c: In function `tolua_get_City_id':
api_gen.c:237: error: `tolua_S' undeclared (first use in this function)
api_gen.c:241: error: `lua_Number' undeclared (first use in this function)
api_gen.c:241: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:248: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_type_ptr':
api_gen.c:250: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:261: error: parse error before '*' token
api_gen.c: In function `tolua_set_Unit_type_ptr':
api_gen.c:263: error: `tolua_S' undeclared (first use in this function)
api_gen.c:265: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:265: error: parse error before "tolua_err"
api_gen.c:267: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:278: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_owner_ptr':
api_gen.c:280: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:291: error: parse error before '*' token
api_gen.c: In function `tolua_set_Unit_owner_ptr':
api_gen.c:293: error: `tolua_S' undeclared (first use in this function)
api_gen.c:295: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:295: error: parse error before "tolua_err"
api_gen.c:297: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:308: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_homecity_id':
api_gen.c:310: error: `tolua_S' undeclared (first use in this function)
api_gen.c:314: error: `lua_Number' undeclared (first use in this function)
api_gen.c:314: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:321: error: parse error before '*' token
api_gen.c: In function `tolua_set_Unit_homecity_id':
api_gen.c:323: error: `tolua_S' undeclared (first use in this function)
api_gen.c:325: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:325: error: parse error before "tolua_err"
api_gen.c:327: warning: implicit declaration of function `tolua_isnumber'
api_gen.c:327: error: `tolua_err' undeclared (first use in this function)
api_gen.c:330: warning: implicit declaration of function `tolua_tonumber'
api_gen.c: At top level:
api_gen.c:338: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_tile_ptr':
api_gen.c:340: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:351: error: parse error before '*' token
api_gen.c: In function `tolua_set_Unit_tile_ptr':
api_gen.c:353: error: `tolua_S' undeclared (first use in this function)
api_gen.c:355: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:355: error: parse error before "tolua_err"
api_gen.c:357: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:368: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_id':
api_gen.c:370: error: `tolua_S' undeclared (first use in this function)
api_gen.c:374: error: `lua_Number' undeclared (first use in this function)
api_gen.c:374: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:381: error: parse error before '*' token
api_gen.c: In function `tolua_get_Tile_nat_x':
api_gen.c:383: error: `tolua_S' undeclared (first use in this function)
api_gen.c:387: error: `lua_Number' undeclared (first use in this function)
api_gen.c:387: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:394: error: parse error before '*' token
api_gen.c: In function `tolua_get_Tile_nat_y':
api_gen.c:396: error: `tolua_S' undeclared (first use in this function)
api_gen.c:400: error: `lua_Number' undeclared (first use in this function)
api_gen.c:400: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:407: error: parse error before '*' token
api_gen.c: In function `tolua_get_Tile_terrain_ptr':
api_gen.c:409: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:420: error: parse error before '*' token
api_gen.c: In function `tolua_set_Tile_terrain_ptr':
api_gen.c:422: error: `tolua_S' undeclared (first use in this function)
api_gen.c:424: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:424: error: parse error before "tolua_err"
api_gen.c:426: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:437: error: parse error before '*' token
api_gen.c: In function `tolua_get_Tile_id':
api_gen.c:439: error: `tolua_S' undeclared (first use in this function)
api_gen.c:443: error: `lua_Number' undeclared (first use in this function)
api_gen.c:443: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:450: error: parse error before '*' token
api_gen.c: In function `tolua_get_Government_name':
api_gen.c:452: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:463: error: parse error before '*' token
api_gen.c: In function `tolua_get_Government_id':
api_gen.c:465: error: `tolua_S' undeclared (first use in this function)
api_gen.c:469: error: `lua_Number' undeclared (first use in this function)
api_gen.c:469: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:476: error: parse error before '*' token
api_gen.c: In function `tolua_get_Nation_Type_name':
api_gen.c:478: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:489: error: parse error before '*' token
api_gen.c: In function `tolua_get_Nation_Type_name_plural':
api_gen.c:491: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:502: error: parse error before '*' token
api_gen.c: In function `tolua_get_Nation_Type_id':
api_gen.c:504: error: `tolua_S' undeclared (first use in this function)
api_gen.c:508: error: `lua_Number' undeclared (first use in this function)
api_gen.c:508: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:515: error: parse error before '*' token
api_gen.c: In function `tolua_get_Building_Type_name':
api_gen.c:517: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:528: error: parse error before '*' token
api_gen.c: In function `tolua_get_Building_Type_build_cost':
api_gen.c:530: error: `tolua_S' undeclared (first use in this function)
api_gen.c:534: error: `lua_Number' undeclared (first use in this function)
api_gen.c:534: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:541: error: parse error before '*' token
api_gen.c: In function `tolua_set_Building_Type_build_cost':
api_gen.c:543: error: `tolua_S' undeclared (first use in this function)
api_gen.c:545: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:545: error: parse error before "tolua_err"
api_gen.c:547: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:558: error: parse error before '*' token
api_gen.c: In function `tolua_get_Building_Type_id':
api_gen.c:560: error: `tolua_S' undeclared (first use in this function)
api_gen.c:564: error: `lua_Number' undeclared (first use in this function)
api_gen.c:564: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:571: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_Type_name':
api_gen.c:573: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:584: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_Type_build_cost':
api_gen.c:586: error: `tolua_S' undeclared (first use in this function)
api_gen.c:590: error: `lua_Number' undeclared (first use in this function)
api_gen.c:590: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:597: error: parse error before '*' token
api_gen.c: In function `tolua_set_Unit_Type_build_cost':
api_gen.c:599: error: `tolua_S' undeclared (first use in this function)
api_gen.c:601: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:601: error: parse error before "tolua_err"
api_gen.c:603: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:614: error: parse error before '*' token
api_gen.c: In function `tolua_get_Unit_Type_id':
api_gen.c:616: error: `tolua_S' undeclared (first use in this function)
api_gen.c:620: error: `lua_Number' undeclared (first use in this function)
api_gen.c:620: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:627: error: parse error before '*' token
api_gen.c: In function `tolua_get_Tech_Type_name':
api_gen.c:629: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:640: error: parse error before '*' token
api_gen.c: In function `tolua_get_Tech_Type_id':
api_gen.c:642: error: `tolua_S' undeclared (first use in this function)
api_gen.c:646: error: `lua_Number' undeclared (first use in this function)
api_gen.c:646: error: parse error before "self"
api_gen.c: At top level:
api_gen.c:653: error: parse error before '*' token
api_gen.c: In function `tolua_get_Terrain_name':
api_gen.c:655: error: `tolua_S' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:666: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_player_num_cities00':
api_gen.c:669: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:669: error: parse error before "tolua_err"
api_gen.c:671: error: `tolua_S' undeclared (first use in this function)
api_gen.c:671: error: `tolua_err' undeclared (first use in this function)
api_gen.c:672: warning: implicit declaration of function `tolua_isnoobj'
api_gen.c:681: error: `lua_Number' undeclared (first use in this function)
api_gen.c:681: error: parse error before "tolua_ret"
api_gen.c:680: warning: unused variable `tolua_ret'
api_gen.c: At top level:
api_gen.c:695: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_player_num_units00':
api_gen.c:698: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:698: error: parse error before "tolua_err"
api_gen.c:700: error: `tolua_S' undeclared (first use in this function)
api_gen.c:700: error: `tolua_err' undeclared (first use in this function)
api_gen.c:710: error: `lua_Number' undeclared (first use in this function)
api_gen.c:710: error: parse error before "tolua_ret"
api_gen.c:709: warning: unused variable `tolua_ret'
api_gen.c: At top level:
api_gen.c:724: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_unit_type_has_flag00':
api_gen.c:727: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:727: error: parse error before "tolua_err"
api_gen.c:729: error: `tolua_S' undeclared (first use in this function)
api_gen.c:729: error: `tolua_err' undeclared (first use in this function)
api_gen.c:730: warning: implicit declaration of function `tolua_isstring'
api_gen.c:738: warning: implicit declaration of function `tolua_tostring'
api_gen.c: At top level:
api_gen.c:755: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_unit_type_has_role00':
api_gen.c:758: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:758: error: parse error before "tolua_err"
api_gen.c:760: error: `tolua_S' undeclared (first use in this function)
api_gen.c:760: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:786: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_building_type_is_wonder00':
api_gen.c:789: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:789: error: parse error before "tolua_err"
api_gen.c:791: error: `tolua_S' undeclared (first use in this function)
api_gen.c:791: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:815: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_building_type_is_great_wonder00':
api_gen.c:818: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:818: error: parse error before "tolua_err"
api_gen.c:820: error: `tolua_S' undeclared (first use in this function)
api_gen.c:820: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:844: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_building_type_is_small_wonder00':
api_gen.c:847: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:847: error: parse error before "tolua_err"
api_gen.c:849: error: `tolua_S' undeclared (first use in this function)
api_gen.c:849: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:873: error: parse error before '*' token
api_gen.c: In function `tolua_api_methods_building_type_is_improvement00':
api_gen.c:876: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:876: error: parse error before "tolua_err"
api_gen.c:878: error: `tolua_S' undeclared (first use in this function)
api_gen.c:878: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:902: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_player00':
api_gen.c:905: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:905: error: parse error before "tolua_err"
api_gen.c:907: error: `tolua_S' undeclared (first use in this function)
api_gen.c:907: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:931: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_city00':
api_gen.c:934: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:934: error: parse error before "tolua_err"
api_gen.c:936: error: `tolua_S' undeclared (first use in this function)
api_gen.c:936: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:962: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_unit00':
api_gen.c:965: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:965: error: parse error before "tolua_err"
api_gen.c:967: error: `tolua_S' undeclared (first use in this function)
api_gen.c:967: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:993: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_tile00':
api_gen.c:996: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:996: error: parse error before "tolua_err"
api_gen.c:998: error: `tolua_S' undeclared (first use in this function)
api_gen.c:998: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1024: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_government00':
api_gen.c:1027: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1027: error: parse error before "tolua_err"
api_gen.c:1029: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1029: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1053: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_government01':
api_gen.c:1055: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1055: error: parse error before "tolua_err"
api_gen.c:1057: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1057: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1077: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_nation_type00':
api_gen.c:1080: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1080: error: parse error before "tolua_err"
api_gen.c:1082: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1082: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1106: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_nation_type01':
api_gen.c:1108: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1108: error: parse error before "tolua_err"
api_gen.c:1110: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1110: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1130: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_building_type00':
api_gen.c:1133: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1133: error: parse error before "tolua_err"
api_gen.c:1135: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1135: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1159: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_building_type01':
api_gen.c:1161: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1161: error: parse error before "tolua_err"
api_gen.c:1163: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1163: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1183: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_unit_type00':
api_gen.c:1186: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1186: error: parse error before "tolua_err"
api_gen.c:1188: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1188: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1212: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_unit_type01':
api_gen.c:1214: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1214: error: parse error before "tolua_err"
api_gen.c:1216: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1216: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1236: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_tech_type00':
api_gen.c:1239: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1239: error: parse error before "tolua_err"
api_gen.c:1241: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1241: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1265: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_tech_type01':
api_gen.c:1267: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1267: error: parse error before "tolua_err"
api_gen.c:1269: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1269: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1289: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_terrain00':
api_gen.c:1292: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1292: error: parse error before "tolua_err"
api_gen.c:1294: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1294: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1318: error: parse error before '*' token
api_gen.c: In function `tolua_api_find_terrain01':
api_gen.c:1320: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1320: error: parse error before "tolua_err"
api_gen.c:1322: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1322: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1342: error: parse error before '*' token
api_gen.c: In function `tolua_api_signal_connect00':
api_gen.c:1345: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1345: error: parse error before "tolua_err"
api_gen.c:1347: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1347: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1372: error: parse error before '*' token
api_gen.c: In function `tolua_api__00':
api_gen.c:1375: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1375: error: parse error before "tolua_err"
api_gen.c:1377: warning: implicit declaration of function `tolua_iscppstring'
api_gen.c:1377: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1377: error: `tolua_err' undeclared (first use in this function)
api_gen.c:1384: error: `_cstring' undeclared (first use in this function)
api_gen.c:1384: error: parse error before "const"
api_gen.c:1386: error: `tolua_var_1' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1401: error: parse error before '*' token
api_gen.c: In function `tolua_api_N_00':
api_gen.c:1404: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1404: error: parse error before "tolua_err"
api_gen.c:1406: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1406: error: `tolua_err' undeclared (first use in this function)
api_gen.c:1413: error: `_cstring' undeclared (first use in this function)
api_gen.c:1413: error: parse error before "const"
api_gen.c:1415: error: `tolua_var_2' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1430: error: parse error before '*' token
api_gen.c: In function `tolua_api_Q_00':
api_gen.c:1433: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1433: error: parse error before "tolua_err"
api_gen.c:1435: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1435: error: `tolua_err' undeclared (first use in this function)
api_gen.c:1442: error: `_cstring' undeclared (first use in this function)
api_gen.c:1442: error: parse error before "const"
api_gen.c:1444: error: `tolua_var_3' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1459: error: parse error before '*' token
api_gen.c: In function `tolua_api_PL_00':
api_gen.c:1462: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1462: error: parse error before "tolua_err"
api_gen.c:1464: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1464: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1492: error: parse error before '*' token
api_gen.c: In function `tolua_api_notify_embassies_msg00':
api_gen.c:1495: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1495: error: parse error before "tolua_err"
api_gen.c:1497: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1497: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1526: error: parse error before '*' token
api_gen.c: In function `tolua_api_notify_event_msg00':
api_gen.c:1529: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1529: error: parse error before "tolua_err"
api_gen.c:1531: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1531: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1560: error: parse error before '*' token
api_gen.c: In function `tolua_api_random00':
api_gen.c:1563: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1563: error: parse error before "tolua_err"
api_gen.c:1565: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1565: error: `tolua_err' undeclared (first use in this function)
api_gen.c:1577: error: `lua_Number' undeclared (first use in this function)
api_gen.c:1577: error: parse error before "tolua_ret"
api_gen.c:1576: warning: unused variable `tolua_ret'
api_gen.c: At top level:
api_gen.c:1591: error: parse error before '*' token
api_gen.c: In function `tolua_api_create_unit00':
api_gen.c:1594: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1594: error: parse error before "tolua_err"
api_gen.c:1596: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1596: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1630: error: parse error before '*' token
api_gen.c: In function `tolua_api_create_city00':
api_gen.c:1633: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1633: error: parse error before "tolua_err"
api_gen.c:1635: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1635: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1662: error: parse error before '*' token
api_gen.c: In function `tolua_api_change_gold00':
api_gen.c:1665: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1665: error: parse error before "tolua_err"
api_gen.c:1667: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1667: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1692: error: parse error before '*' token
api_gen.c: In function `tolua_api_give_technology00':
api_gen.c:1695: error: `tolua_Error' undeclared (first use in this function)
api_gen.c:1695: error: parse error before "tolua_err"
api_gen.c:1697: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1697: error: `tolua_err' undeclared (first use in this function)
api_gen.c: At top level:
api_gen.c:1722: error: syntax error before "int"
api_gen.c:1722: error: parse error before '*' token
api_gen.c:1723: warning: no previous prototype for `tolua_api_open'
api_gen.c: In function `tolua_api_open':
api_gen.c:1724: warning: implicit declaration of function `tolua_open'
api_gen.c:1724: error: `tolua_S' undeclared (first use in this function)
api_gen.c:1726: warning: implicit declaration of function `tolua_module'
api_gen.c:1727: warning: implicit declaration of function `tolua_beginmodule'
api_gen.c:1728: warning: implicit declaration of function `tolua_cclass'
api_gen.c:1730: warning: implicit declaration of function `tolua_variable'
api_gen.c:1731: warning: implicit declaration of function `tolua_endmodule'
api_gen.c:1793: warning: implicit declaration of function `tolua_function'
api_gen.c:1803: warning: implicit declaration of function `lua_gettop'
api_gen.c:1870: warning: implicit declaration of function `tolua_dobuffer'
api_gen.c:1871: warning: implicit declaration of function `lua_settop'
api_gen.c:1958: warning: implicit declaration of function `tolua_constant'
make[3]: *** [api_gen.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to