<div dir="ltr"><div dir="ltr">The same issue is in gdb 12.1 and is still present in the gdb master.</div><div dir="ltr"><br></div><div>I have fixed this locally and will create a patch.</div><div><br></div><div>Any thoughts on me updating to gdb 12.1 at the same time?</div><div><br></div><div>--joel</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 15, 2023 at 5:52 PM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Well I missed that we already build with --disable-werror. This is something I guess I will have to deal with.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 15, 2023 at 5:48 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>On Cygwin with gcc 11.3.0 as the native compiler, the build of gdb fails with:<br><br>  CXX    cp-name-parser.o<br>../../gdb-11.2/gdb/completer.c: In function ‘char* gdb_completion_word_break_characters_throw()’:<br>../../gdb-11.2/gdb/completer.c:2014:10: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]<br> 2014 |   return rl_completer_word_break_characters;<br>      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>      |          |<br>      |          const char*<br>make[2]: *** [Makefile:1641: completer.o] Error 1<br></div><div><br></div><div>Do we want to chase these?  When we lock down tool versions and host compilers continue to improve, we are just begging for having to fix these types of issues. We have enough warnings of our own to fix. :)</div><div><br></div><div>I'd like to add --disable-werror to at least the default gdb build. And suggest we consider for any other package that has enable-werror by default.</div><div><br></div><div>Thoughts.</div><div><br></div><div>--joel</div></div>
</blockquote></div>
</blockquote></div></div>