smbpasswd compile warnings....

Richard Bollinger rabollinger at attbi.com
Tue Feb 12 07:22:14 GMT 2002


Did you see my patch to fix this...
http://lists.samba.org/pipermail/samba-technical/2002-February/034642.html


----- Original Message ----- 
From: "Gerald Carter" <jerry at samba.org>
To: <samba-technical at samba.org>
Sent: Tuesday, February 12, 2002 9:48 AM
Subject: smbpasswd compile warnings....


> Herb,
> 
> I think these would be yours...
> 
> 
> Compiling utils/smbpasswd.c
> utils/smbpasswd.c: In function `process_options':
> utils/smbpasswd.c:75: warning: implicit declaration of function `strdup_x'
> utils/smbpasswd.c:75: warning: assignment makes pointer from integer 
> without a cast
> utils/smbpasswd.c:80: warning: assignment makes pointer from integer 
> without a cast
> utils/smbpasswd.c:93: warning: assignment makes pointer from integer 
> without a cast
> utils/smbpasswd.c:105: warning: implicit declaration of function 
> `set_line_buffering'
> utils/smbpasswd.c:146: warning: implicit declaration of function `usage'
> utils/smbpasswd.c:174: warning: assignment makes pointer from integer 
> without a cast
> utils/smbpasswd.c: At top level:
> utils/smbpasswd.c:187: warning: `strdup_x' was declared implicitly 
> `extern' and later `static'
> utils/smbpasswd.c:174: warning: previous declaration of `strdup_x'
> utils/smbpasswd.c:187: warning: type mismatch with previous implicit 
> declaration
> utils/smbpasswd.c:174: warning: previous implicit declaration of 
> `strdup_x'
> utils/smbpasswd.c:187: warning: `strdup_x' was previously implicitly 
> declared to return `int'
> utils/smbpasswd.c:201: warning: `usage' was declared implicitly `extern' 
> and later `static'
> utils/smbpasswd.c:154: warning: previous declaration of `usage'
> utils/smbpasswd.c:201: warning: type mismatch with previous implicit 
> declaration
> utils/smbpasswd.c:154: warning: previous implicit declaration of `usage'
> utils/smbpasswd.c:201: warning: `usage' was previously implicitly declared 
> to return `int'
> utils/smbpasswd.c:594: warning: `set_line_buffering' was declared 
> implicitly `extern' and later `static'
> utils/smbpasswd.c:105: warning: previous declaration of 
> `set_line_buffering'
> utils/smbpasswd.c:594: warning: type mismatch with previous implicit 
> declaration
> utils/smbpasswd.c:105: warning: previous implicit declaration of 
> `set_line_buffering'
> utils/smbpasswd.c:594: warning: `set_line_buffering' was previously 
> implicitly declared to return `int'
> Compiling libsmb/cli_lsarpc.c
> 
> 
> 
> 
> 
> chau, jerry
>  ---------------------------------------------------------------------
>  Hewlett-Packard                                     http://www.hp.com
>  SAMBA Team                                       http://www.samba.org
>  --                                            http://www.plainjoe.org
>  "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
>  --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
> 
> 





More information about the samba-technical mailing list