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? Thorkil Olesen.
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@redhat.com Samba Team gd@samba.org
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.