[CMake] current cmake cvs doesn't compile

Andy Cedilnik andy.cedilnik at kitware.com
Fri Mar 17 13:13:51 EST 2006


Hi Alex,

 From man:

NAME
       setenv - change or add an environment variable

SYNOPSIS
       #include <stdlib.h>

       int setenv(const char *name, const char *value, int overwrite);

       int unsetenv(const char *name);


That said, I will fix it.

       Andy

Alexander Neundorf wrote:

>Hi, 
> 
>in cmSystemTools.cxx, line 1290: 
>void value not ignored as it ought to be 
> 
>return (unsetenv()==0); 
> 
>Both on my linux and my freebsd box unsetenv() returns void. 
> 
>Bye 
>Alex 
> 
>
>  
>


-- 
Andy Cedilnik
Kitware Inc.



More information about the CMake mailing list