Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3CEF4E7B.17584050@phekda.freeserve.co.uk> Date: Sat, 25 May 2002 09:42:35 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: refresh++ References: <10205241453 DOT AA19974 AT clio DOT rice DOT edu> <002901c20392$d9b3c120$0102a8c0 AT acceleron> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Andrew Cottrell wrote: [snip] > Please note that confstr.c as simple as I thought and I am wtill working on > it as the compiler does not like the following line in the file:- > out_len = snprintf(buf, len, ""); > GCC 3.1 complains about the third parameter. [snip] What complaint does it have? I suspect it's complaining that there's no format string. Does it complain about this? out_len = snprintf(buf, len, "%s", ""); It looks like this call is intended to truncate the buffer, to return to an empty string. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]