X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Authentication-Results: msg-ip1.usc.edu; dkim=neutral (message not signed) header.i=none X-IronPort-AV: E=Sophos;i="4.87,418,1363158000"; d="scan'208";a="770935066" Date: Fri, 05 Apr 2013 16:50:11 -0800 From: Mikhail Ryazanov Subject: Re: snprintf not found In-reply-to: <2a00b67d-272c-4374-8e00-7d565f9c37e4@googlegroups.com> Sender: ryazanov AT usc DOT edu To: djgpp AT delorie DOT com Message-id: <515F7143.7010706@usc.edu> Organization: USC MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <515B8EE7 DOT 4060603 AT usc DOT edu> <83ehesib96 DOT fsf AT gnu DOT org> <2a00b67d-272c-4374-8e00-7d565f9c37e4 AT googlegroups DOT com> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 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 On 03.04.2013 11:59, rugxulo AT gmail DOT com wrote: > 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: Thanks for suggestions! However, I use DJGPP mostly as a mean to run gcc under MSW for checking standard compliance and portability, so the idea is that it must compile my sources without tweaking them. :-) Do you know about any problems with v2.04? -- Best regards, Mikhail Ryazanov