[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenetwork/kmail
From:       David Faure <faure () kde ! org>
Date:       1998-09-01 7:20:12
[Download RAW message or body]

> > Portability improvement : if unsetenv doesn't exist, use putenv
> You could also add a replacement to kdelibs/fakes.cpp :)
Ah, didn't know about that one.

Well, I just tried, and .. I don't get it :
how can it work without a .h defining the faked function ?

To make it work here I had to add "int unsetenv(const char *);"
to kpgp.cpp, otherwise, I got an "undefined symbol unsetenv" at link time.
(After an "implicit declaration" when compiling the .cpp, of course).
The prototype is badly guessed, so it's not found.

-- 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic