|
From: Allin C. <cot...@wf...> - 2010-03-09 21:27:51
|
On Tue, 9 Mar 2010, Ethan Merritt wrote: > On Tuesday 09 March 2010 12:53:16 Allin Cottrell wrote: > > > > Following recent changes, gplt_x11.c will not compile using gcc > > 4.4.3: > > > > gplt_x11.c: In function 'preset': > > gplt_x11.c:5025: error: incompatible types when assigning to type > > 'char[256]' from type 'void *' > > > > The offending line is > > > > buffer = NULL; > > > > 'buffer' having been previously declared as of type char[256]. > > Ugh. You're right. > Fortunately it's not too late to fix this in the 4.4.0 source. > > > The bad line is reached if XAPPLRESDIR is defined neither in the > > environment nor in the gnuplot source itself, I think. > > But how did you trigger this? > So far as I can see, XAPPLRESDIR is defined in the Makefile regardless > of whether its value is NULL. > Are you looking at 4.4 or 4.5? 4.5 -- and sorry, it was my bad, I hadn't updated Makefile.in. After doing that the default was picked up and the error was not triggered. Allin Cottrell |