On Mon, Dec 22, 2003 at 10:48:01PM +0200, Tuomo Valkonen wrote: > On Mon, Dec 22, 2003 at 10:38:14PM +0200, Tuomo Valkonen wrote: > > > Warning about undefined "snprintf" is because snprintf is defined in > > > stdio.h which (according to my man pages), which is not #included by ion. > > > > Apparently the XOPEN_SOURCE options are not defined in the standard > > system.mk and setting those them causes snprintf not be defined. > > I just added C99_SOURCE everywhere where XOPEN_SOURCE is defined and > the complaints are gone.
Is this going to work for people who don't define C99_SOURCE, e.g. those without va_copy? Why not just add #include <stdio.h> to exec.c, resize.c, and rootwin.c as the manual implies you should? :-) Tom
