syntax error in source3/locking/brlock.c

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Mar 9 03:10:23 MDT 2015


On Sun, Mar 08, 2015 at 10:22:23PM -0500, Christof Schmitt wrote:
> Here is a similar patch for 4.2 (replace all {} initializers with { 0 }
> and adjust the nesting level to avoid further warnings)

According to
https://stackoverflow.com/questions/13746033/how-to-repair-warning-missing-braces-around-initializer
and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
the missing brace warning is seen as a gcc bug in this
particular case. I'd rather live with that warning for a
while until a fixed gcc trickles into the relevant releases.

With best regards,

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