compilation error

Ron Alexander rcalex at home.com
Tue Oct 10 13:15:11 GMT 2000


Actually I started this, and DCB tested it on one of his SUN boxes. We both
got severe compile errors.

I am not a language lawyer, but everyone I have shown this to says the same
thing, "it's invalid C syntax".

I respectfully submit that the IRIX C compiler has a bug if it requires this
syntax. If that is the case, then the code should be changed to ifdef the
IRIX case since it is the one that is unique.

I can find and forward original e-mail between me and DCB and
samba-technical if needed.

Ron Alexander

-----Original Message-----
From: samba-technical-admin at us4.samba.org
[mailto:samba-technical-admin at us4.samba.org]On Behalf Of Gerald Carter
Sent: September 26, 2000 12:18 PM
To: Herb Lewis
Cc: samba-technical at samba.org
Subject: Re: compilation error


Herb Lewis wrote:
>
> 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.

My bad.  I made the change at the request of somone (i'm pretty
sure it was David C-B)  I'll have to get him to jog my memory
what this issue was.






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-technical mailing list