On Mon, 3 Jun 2002 00:39:56 +0200, Henrik Stuart <hstuart@inoyfb.com> wrote: > First of, strlcpy isn't prototyped so it'll cause an error on > compilation, so a proper insertion somewhere in sysdep.h or > likewise using: > size_t strlcpy (char *dest, const char *src, size_t copylen); > should do the trick. Please note that I haven't actually tried to > link and run the entire thing so I don't know whether Borland has > the strlcpy routine, but given their usual dedication to standard > conformance I would be surprised if they do not. > Had the same thing going on... did a search on archives and found I needed to add the following to conf.h (and no more warnings on strlcpy) /* The strlcpy() function is present, but it needed a prototype to stop warnings.*/ #define NEED_STRLCPY_PROTO Zaufe -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT