[Samba] Error building Samba 3.2.0 with gcc 2.96

Jeremy Allison jra at samba.org
Thu Jul 3 16:07:47 GMT 2008


On Thu, Jul 03, 2008 at 08:19:19AM +0000, 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 that got missed from a merge from 3.2-test
to 3.2-stable (ie. we've already fixed it in 3.2-test).
It'll be fixed in the next point release, thanks !

Jeremy.


More information about the samba mailing list