Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!

On Wed, 2 Mar 2016, Heiko Schlittermann wrote:

The Doctor <doc...@doctor.nl2k.ab.ca> (Mi 02 Mär 2016 22:24:23 CET):
Got a problem compiling this

This line

if (unsetenv(CS *name) < 0) return FALSE;

is prevent the compilation.

gcc environment.c
environment.c: In function `cleanup_environment':
environment.c:54: warning: cast to pointer from integer of different size
environment.c:54: void value not ignored as it ought to be

Uh. your BSDs' unsetenv() returns void, my Linux's unsetenv() returns
int.

Change the above line to just

   unsetenv(CS *name);

Does it work. Does the warning disappear?

I still get

gcc environment.c
environment.c: In function `cleanup_environment':
environment.c:54: warning: cast to pointer from integer of different size
environment.c:54: void value not ignored as it ought to be
Makefile:624: recipe for target 'environment.o' failed



   Best regards from Dresden/Germany
   Viele Grüße aus Dresden
   Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##
  • Re: [exim... The Doctor
    • [exi... Heiko Schlittermann
      • ... The Doctor
        • ... Heiko Schlittermann
          • ... Heiko Schlittermann
            • ... The Doctor, 3328-138 Ave Edmonton AB T5Y 1M4, 669-2000, 473-4587
              • ... Heiko Schlittermann
                • ... The Doctor, 3328-138 Ave Edmonton AB T5Y 1M4, 669-2000, 473-4587
    • Re: ... The Doctor
    • Re: ... Andrew C Aitchison

Reply via email to