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

As of r13028, build fails in citydlg.c instead:

citydlg.c: In function `units_orders_city_dlg_callback':
citydlg.c:416: error: structure has no member named `type'
citydlg.c:419: warning: implicit declaration of function `gettext'
citydlg.c:419: warning: format argument is not a pointer (arg 4)
citydlg.c:435: error: structure has no member named `type'
citydlg.c:443: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:454: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:467: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:482: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:498: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:512: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:526: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:540: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c: In function `create_present_supported_units_widget_list':
citydlg.c:693: error: structure has no member named `type'
citydlg.c:696: error: structure has no member named `name'
citydlg.c:698: warning: pointer/integer type mismatch in conditional
expression
citydlg.c:701: warning: pointer/integer type mismatch in conditional
expression
citydlg.c: In function `create_city_options_widget_list':
citydlg.c:934: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:955: warning: format argument is not a pointer (arg 4)
citydlg.c: In function `popup_hurry_production_dialog':
citydlg.c:1149: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1154: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1159: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1162: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1166: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:1192: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:1203: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c: In function `sell_imprvm_dlg_callback':
citydlg.c:1381: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:1396: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1406: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:1414: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c: In function `redraw_misc_city_dialog':
citydlg.c:1726: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c: In function `redraw_supported_units_city_dialog':
citydlg.c:1772: warning: implicit declaration of function `ngettext'
citydlg.c:1772: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c: In function `redraw_army_city_dialog':
citydlg.c:1831: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c: In function `redraw_info_city_dialog':
citydlg.c:1880: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1902: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1929: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1942: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:1967: warning: format argument is not a pointer (arg 4)
citydlg.c:1991: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2003: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c: In function `redraw_happyness_city_dialog':
citydlg.c:2036: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c: In function `redraw_city_dialog':
citydlg.c:2516: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2531: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2545: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2561: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2597: warning: passing arg 1 of `skip_intl_qualifier_prefix'
makes pointer from integer without a cast
citydlg.c:2647: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2691: warning: passing arg 1 of `skip_intl_qualifier_prefix'
makes pointer from integer without a cast
citydlg.c:2730: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2764: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2801: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2848: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2887: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2927: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2964: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2966: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2971: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:2975: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:3013: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3024: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3125: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3199: error: structure has no member named `name'
citydlg.c:3242: error: structure has no member named `name'
citydlg.c:3294: warning: format argument is not a pointer (arg 6)
citydlg.c:3297: warning: format argument is not a pointer (arg 7)
citydlg.c:3301: warning: format argument is not a pointer (arg 6)
citydlg.c: In function `rebuild_citydlg_title_str':
citydlg.c:3602: warning: passing arg 3 of `my_snprintf' makes pointer
from integer without a cast
citydlg.c:3605: warning: passing arg 2 of `mystrlcat' makes pointer from
integer without a cast
citydlg.c:3608: warning: passing arg 2 of `mystrlcat' makes pointer from
integer without a cast
citydlg.c:3611: warning: passing arg 2 of `mystrlcat' makes pointer from
integer without a cast
citydlg.c:3617: warning: passing arg 2 of `mystrlcat' makes pointer from
integer without a cast
citydlg.c: In function `popup_city_dialog':
citydlg.c:3697: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3709: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3720: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3732: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3744: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3775: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3789: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3803: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3818: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3834: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
citydlg.c:3849: warning: passing arg 2 of `copy_chars_to_string16' makes
pointer from integer without a cast
make[3]: *** [citydlg.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


 ~Daniel

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

Reply via email to