[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] compile error: strlcpy defined differently in 2 different files, huh ?
- Subject: [ale] compile error: strlcpy defined differently in 2 different files, huh ?
- From: cc.thomas at earthlink.net (Courtney Thomas)
- Date: Mon, 06 Feb 2006 14:25:57 -0500
In trying to compile the HP calculator simulator nonpareil-0.77, I get
the error:
error: conflicting type for 'strlcpy'
and strlcpy is defined in string.h & util.h......
/usr/include/string.h
as -> size_t strlcpy(char *, const char *, size_t);
whereas,
util.h ; in the app source
as -> char *strlcpy(char *dest, const char *src, size_t l);
What is the resolution of this without either compromising the
application of the /usr/include/string definition ?
Appreciatively,
Courtney