Follow-up Comment #2, patch #3325 (project freeciv):

You remember me, but I've spent months with #1339.

Gmake result in SVN (rev. 21329) with your ruleset.c

ruleset.c: In function 'load_government_names':
ruleset.c:2488:24: error: 'MAX_NUM_USER_GOV_FLAGS' undeclared (first use in
this function)
ruleset.c:2488:24: note: each undeclared identifier is reported only once for
each function it appears in
ruleset.c:2494:5: warning: implicit declaration of function
'set_user_gov_flag_name' [-Wimplicit-function-declaration]
ruleset.c:2494:28: error: 'F_USER_GOV_FLAG_1' undeclared (first use in this
function)
ruleset.c: In function 'load_ruleset_governments':
ruleset.c:2590:5: warning: implicit declaration of function 'gtype_index'
[-Wimplicit-function-declaration]
ruleset.c:2592:5: error: 'struct government' has no member named 'flags'
ruleset.c:2592:5: error: 'struct government' has no member named 'flags'
ruleset.c:2593:5: warning: implicit declaration of function 'gtype_has_flag'
[-Wimplicit-function-declaration]
ruleset.c:2595:5: error: 'slist' undeclared (first use in this function)
ruleset.c:2595:43: error: 'nval' undeclared (first use in this function)
ruleset.c:2597:9: error: 'j' undeclared (first use in this function)
ruleset.c:2598:7: error: 'sval' undeclared (first use in this function)
ruleset.c:2599:16: warning: left-hand operand of comma expression has no
effect [-Wunused-value]
ruleset.c:2599:16: warning: value computed is not used [-Wunused-value]
ruleset.c:2599:16: warning: left-hand operand of comma expression has no
effect [-Wunused-value]
ruleset.c:2602:7: error: 'ival' undeclared (first use in this function)
ruleset.c:2602:7: warning: implicit declaration of function
'gov_flag_by_rule_name' [-Wimplicit-function-declaration]
ruleset.c:2604:9: warning: implicit declaration of function 'gtype_rule_name'
[-Wimplicit-function-declaration]
ruleset.c:2607:9: error: 'struct government' has no member named 'flags'
ruleset.c: In function 'send_ruleset_governments':
ruleset.c:4339:2: error: 'packet' undeclared (first use in this function)
ruleset.c:4339:18: error: 'struct government' has no member named 'flags'


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3325>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to