libtool
[Top][All Lists]
Advanced

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

Re: a small C warning


From: Sebastien Sable
Subject: Re: a small C warning
Date: 10 Jul 2001 21:31:39 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Tim Mooney <address@hidden> writes:

> It's not nothing, at least on architectures that aren't ILP32.  Your program
> will work fine on Linux on Intel, but it will fail on 64 bit (LP64) OSes.

Sorry that was a really stupid mistake from me:

I was persuaded for some reason that the problem was somewhere there :
error = lt_dladdsearchdir(PKGLIBDIR);
                          ^
while it was there 
error = lt_dladdsearchdir(PKGLIBDIR);
      ^

I was just using the same variable to store an error from
lt_dladdsearchdir and lt_dlerror().
Those functions return respectively an int and a const char*. I just
created a strerror variable to use with lt_dlerror() and everything is
fine.

Thanks.

-- 
Sébastien Sablé <address@hidden>
http://inova.snv.jussieu.fr/~sable/



reply via email to

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