GNOME Bugzilla – Bug 139903
[patch] gog-xy.c doesn't compile with gcc 2.95
Last modified: 2004-12-22 21:47:04 UTC
I got the following compile error when trying to compile Gnumeric 1.2.10 with gcc 2.95.3: <-- snip --> ... -o .libs/gog-xy.o gog-xy.c:523: warning: #warning what about small bubbles. With a very small radi us, libart emits lot of warnings. gog-xy.c:649: warning: #warning "move map into axis" gog-xy.c: In function `gog_bubble_plot_class_init': gog-xy.c:438: parse error before `*' gog-xy.c:440: `gog_2d_plot_klass' undeclared (first use in this function) gog-xy.c:440: (Each undeclared identifier is reported only once gog-xy.c:440: for each function it appears in.) make[7]: *** [gog-xy.lo] Error 1 make[7]: Leaving directory `/aux/adrian/build/gnumeric-1.2.10/src/cut-n-paste-co de/goffice/graph/plugins/plot_xy' <-- snip --> gcc 2.95 doesn't support declarations mixed with code. I'll attach a patch in a minute.
Created attachment 26609 [details] [review] proposed fix
Applied (by hand).