<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39405 >
Daniel Markstedt wrote: > 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' Note that you have header problems, somehow you are not including gettext. Works for me.... gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I./../include -I../../utility -I../../common -I../../common/aicore -I../../intl -I./../agents -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -DLOCALEDIR="\"/Users/wastrel/freeciv-stable/share/locale\"" -DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/Users/wastrel/freeciv-stable/share/freeciv\"" -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -fsigned-char -MT citydlg.o -MD -MP -MF .deps/citydlg.Tpo -c -o citydlg.o citydlg.c mv -f .deps/citydlg.Tpo .deps/citydlg.Po gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I./../include -I../../utility -I../../common -I../../common/aicore -I../../intl -I./../agents -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -DLOCALEDIR="\"/Users/wastrel/freeciv-stable/share/locale\"" -DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/Users/wastrel/freeciv-stable/share/freeciv\"" -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -fsigned-char -MT citydlg.o -MD -MP -MF .deps/citydlg.Tpo -c -o citydlg.o citydlg.c mv -f .deps/citydlg.Tpo .deps/citydlg.Po (success, no errors or warnings) _______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
