|
From: Allin C. <cot...@wf...> - 2011-01-19 04:49:28
|
On Tue, 18 Jan 2011, Ethan Merritt wrote: > On Tuesday, January 18, 2011, Mojca Miklavec wrote: > > I'm sending a copy of some errors that get reported when I try to > > compile gnuplot ... > > > util.c:524:1: warning: "sprintf" redefined > > In file included from /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdio.h:443, > > from stdfn.h:48, > > from util.h:41, > > from util.c:37: > > That seems to be an error in stdio.h as provided by SDK. I think it's due to the business of redefining sprintf in gnuplot's util.c: #ifdef HAVE_SNPRINTF # define sprintf(str,fmt,arg) ... <to use snprintf> This is prefixed with a comment of "Kludge alert!!" and it does look funky, but I guess it's harmless. Allin Cottrell |