libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool-branch-2-0: add strlcat/strlcpy emulation


From: Bob Friesenhahn
Subject: Re: libtool-branch-2-0: add strlcat/strlcpy emulation
Date: Mon, 13 Dec 2004 10:00:13 -0600 (CST)

On Mon, 13 Dec 2004, Ralf Wildenhues wrote:

AC_REPLACE_FUNCS doesn't create an empty .o file like yours does. But,
this is I think only a problem on Tru64 UNIX which deosn't have
strlcat.

Is there a reason against using

#if defined(HAVE_STRLCAT) && defined(HAVE_STRLCPY)
static int dummy;
#endif

in libltdl/lt__strl.c besides the apparent uglyness?  (Did I mention
before that I think that the LIBOBJ mechanism less than optimal?)

This might also result in an empty object file, or a warning that a variable was not used.

Is an empty object file a problem for some compilers/linkers? Do they complain or refuse to work?

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]