[PATCH] Fix for bug 11684

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jan 22 09:16:51 UTC 2016


On Fri, Jan 22, 2016 at 10:11:15AM +0100, Michael Adam wrote:
> On 2016-01-22 at 07:14 +0100, Volker Lendecke wrote:
> > On Thu, Jan 21, 2016 at 01:59:15PM -0800, Jeremy Allison wrote:
> > > Thanks for doing the tests. Nothing like facts in a
> > > heated debate :-).
> > > 
> > > Unfortunately 14.04 is a LTS version, so this damn
> > > bug will be around for a while.
> > > 
> > > Volker, is {} for new code acceptible for you ?
> > 
> > If it is not possible to remove -Werror for these files,
> 
> This would certainly be possible, technically.
> 
> But why sacrifice the protection we have by -Werror
> just because of a few lines? Wouldn't it be better
> to use s/th that works for the broken compiler and
> still is standards compliant without giving up on -Werror?

It seems to be the only way forward, so do it.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list