X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 12 Sep 2005 01:22:06 +0000 (GMT) From: "A. Wik" To: djgpp AT delorie DOT com Subject: snprintf() and others Message-ID: <20050912010645.F78492@dynamite.narpes.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com The libc.a reference documents this: #include int snprintf (char *buffer, size_t n, const char *format, ...); But when I try to compile nasm 0.98.39 I get warnings about incompatible implicit declarations when compiling, as well as unresolved references when linking. This applies to DJGPP 2.03. I upgraded gcc to 4.0.1 to see if there was a difference, but there wasn't. According to the GCC manual snprintf is built-in, but that doesn't seem to help. The same goes for vsnprintf(). -aw