X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.224.172.200 with SMTP id m8mr1728912qaz.0.1365019165066; Wed, 03 Apr 2013 12:59:25 -0700 (PDT) X-Received: by 10.49.61.234 with SMTP id t10mr335466qer.16.1365019165040; Wed, 03 Apr 2013 12:59:25 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Wed, 3 Apr 2013 12:59:24 -0700 (PDT) In-Reply-To: <83ehesib96.fsf@gnu.org> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO NNTP-Posting-Host: 65.13.115.246 References: <515B8EE7 DOT 4060603 AT usc DOT edu> <83ehesib96 DOT fsf AT gnu DOT org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2a00b67d-272c-4374-8e00-7d565f9c37e4@googlegroups.com> Subject: Re: snprintf not found From: rugxulo AT gmail DOT com Cc: djgpp AT delorie DOT com Injection-Date: Wed, 03 Apr 2013 19:59:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 1976 Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi, (sorry for weird formatting, too tedious to manually fix) On Tuesday, April 2, 2013 9:44:21 PM UTC-5, Eli Zaretskii wrote: > > Date: Tue, 02 Apr 2013 18:07:35 -0800 > > From: Mikhail Ryazanov > > > I have a problem compiling programs with snprintf (actually, vsnprintf) > > function. > > snprintf is only available in (yet unreleased) version v2.04 of the > library. Are you using that, or do you have v2.03 installed? I doubt at this point you're really wanting to upgrade your entire DJGPP install to 2.04 just for one function. You can instead use the simple snprintf() / vsnprintf() versions included in latest NASM if desired: http://repo.or.cz/w/nasm.git/tree/7c88b3a9d7719e53cc408d3d9aeba548b8931337:/lib http://repo.or.cz/w/nasm.git/blob/7c88b3a9d7719e53cc408d3d9aeba548b8931337:/lib/vsnprintf.c