delorie.com/archives/browse.cgi | search |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: c:/djgpp/tmp\ccDQ1otP.o(.text+0x7fc):drawing.c: undefined reference to `snprintf' |
Date: | Wed, 10 Jul 2002 00:25:55 CDT |
Organization: | Rice University, Houston TX |
Lines: | 13 |
Message-ID: | <3d2bc563.sandmann@clio.rice.edu> |
References: | <20020709233621 DOT 10217 DOT qmail AT web11302 DOT mail DOT yahoo DOT com> |
NNTP-Posting-Host: | clio.rice.edu |
X-Trace: | joe.rice.edu 1026278949 8198 128.42.105.3 (10 Jul 2002 05:29:09 GMT) |
X-Complaints-To: | abuse AT rice DOT edu |
NNTP-Posting-Date: | 10 Jul 2002 05:29:09 GMT |
X-NewsEditor: | ED-1.5.9 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> Hi, Please, What does it means ? Thank you in advance. The program you are trying to build is using the routine snprintf(), which is a relatively new call and not available in the v2.03 library. You can either try the 2.04 work in progress library, or inspect the code and see if you can get by with a simple define: #define snprintf(a,b,c,d) sprintf(a,c,d) This define assumes the string is long enough. snprintf() is a safe sprintf call which you send the string length so you don't get buffer overruns.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |