Yann Chemin wrote: > d.graph is bugging on compilation: > > [EMAIL PROTECTED]:/home/yann/tmp/grass/display/d.graph# make > test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu > gcc -I/home/yann/tmp/grass/dist.x86_64-unknown-linux-gnu/include -g > -O2 -DPACKAGE=\""grassmods"\" > -I/home/yann/tmp/grass/dist.x86_64-unknown-linux-gnu/include -o > OBJ.x86_64-unknown-linux-gnu/do_graph.o -c do_graph.c > do_graph.c:25: error: static declaration of 't' follows non-static declaration > options.h:4: error: previous declaration of 't' was here
Fixed in SVN, with: --- display/d.graph/options.h (revision 33095) +++ display/d.graph/options.h (working copy) @@ -1,6 +1,5 @@ extern float hsize; extern float vsize; -extern double t, b, l, r; extern int mapunits; extern FILE *infile; It compiled without warnings for me; probably a difference between gcc 3.4.x and 4.x. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
