<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40258 >
I heard a rumor that freeciv (S2_1) didn't compile with gcc 4.3. So I installed it and tried it. I found only one error in the default compilation, fixed by this simple patch. This surely applies to 2.2 and trunk as well. -jason
Index: client/cityrepdata.c =================================================================== --- client/cityrepdata.c (revision 14712) +++ client/cityrepdata.c (working copy) @@ -633,6 +633,7 @@ int len = right - left; dat->is_numeric = FALSE; + dat->numeric_value = 0; dat->string_value = fc_malloc(len + 1); memcpy(dat->string_value, left, len); dat->string_value[len] = 0;
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev