compilation error

Herb Lewis herb at chomps.engr.sgi.com
Tue Sep 26 14:40:00 GMT 2000


Greg Dickie wrote:
> 
> This is probably the wrong list but this is IDO 7.3 on IRIX 6.5.7f with the
> HEAD branch of this morning:
> 
> Compiling smbd/fileio.c
> cc-1032 cc: ERROR File = smbd/fileio.c, Line = 566
>   The indicated expression must have an arithmetic type.
> 
>     SMB_ASSERT(wcp->data_size == 0);
>     ^
> 
> 1 error detected in the compilation of "smbd/fileio.c".
> 

I fixed that error in the 2.2 branch but forgot to check it into head
as well. If you don't want to do another update (I'm going to check this
into head but cvs is a little slow right now) change
include/smb_macros.h

< #define SMB_ASSERT(b) ((b)?0: \
---
> #define SMB_ASSERT(b) ((b)?(void)0: \

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================




More information about the samba-technical mailing list