<div dir="ltr"><div dir="ltr">On Sun, Sep 27, 2020 at 9:01 AM Madhu via rsync <<a href="mailto:rsync@lists.samba.org">rsync@lists.samba.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Turns out the comment in rsync.h: (struct name_num_obj):<br>
struct name_num_item list[8]; /* A big-enough len (we'll get a compile error if it is ever too small) */<br>
<br>
isn't correct. I don't get a compile error.</blockquote><div><br></div><div>Gcc likes to generate just a warning, not an error, which is enough for me to notice the issue and fix it. However, it would be nice if it was an actual error, so I'm tweaking <a href="http://configure.ac">configure.ac</a> to specify -pedantic-errors (sometimes followed by --Wno-pedantic) for gcc, which seems to turn it into an error just fine. I've also expanded the array a bit.</div><div><br></div><div>..wayne..</div></div></div>