[Samba] Error building Samba 3.2.0 with gcc 2.96

Guenther Deschner gd at samba.org
Thu Jul 3 09:12:52 GMT 2008


Thorkil Olesen wrote:
> I have tried to build Samba 3.2 with an old compiler gcc 2.96.
> 
> It gave only one single error:
> 
> groupdb/mapping_tdb.c: In function `add_mapping_entry':
> groupdb/mapping_tdb.c:130: incompatible types in return
> 
> The offending line says:
> 
>  return NULL;
> 
> in a function of type 'bool'.
> 
> Is this a bug, or am I using a far too old compiler?

It's a bug, fixed already in git.

Thanks!

Guenther

-- 
Günther Deschner                    GPG-ID: 8EE11688
Red Hat                         gdeschner at redhat.com
Samba Team                              gd at samba.org


More information about the samba mailing list