compilation error

Herb Lewis herb at chomps.engr.sgi.com
Tue Sep 26 16:05:42 GMT 2000


Gerald Carter wrote:
> 
> > > include/smb_macros.h
> > >
> > > < #define SMB_ASSERT(b) ((b)?0: \
> > > ---
> > >> #define SMB_ASSERT(b) ((b)?(void)0: \
> 
> Herb,
> 
> This macro was reported to cause errors (or maybe just
> warnings) with Solaris (DCB...i think it was you?
> can you elaborate?)

The only thing I saw in the log was

Date:   Sunday August 13, 2000 @ 0:10
Author: jerry

Update of /data/cvs/samba/source/include
In directory samba:/tmp/cvs-serv11511/include

Modified Files:
        smb_macros.h
Log Message:
removed (void) typecast from SMB_ASSERT


There was no explaination on why this was done. It definitely
gives an error not a warning in IRIX without this.

-- 
======================================================================
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