RFC Add --disable-werror to gdb, etc
Joel Sherrill
joel at rtems.org
Wed Feb 15 23:52:38 UTC 2023
Well I missed that we already build with --disable-werror. This is
something I guess I will have to deal with.
On Wed, Feb 15, 2023 at 5:48 PM Joel Sherrill <joel at rtems.org> wrote:
> Hi
>
> On Cygwin with gcc 11.3.0 as the native compiler, the build of gdb fails
> with:
>
> CXX cp-name-parser.o
> ../../gdb-11.2/gdb/completer.c: In function ‘char*
> gdb_completion_word_break_characters_throw()’:
> ../../gdb-11.2/gdb/completer.c:2014:10: error: invalid conversion from
> ‘const char*’ to ‘char*’ [-fpermissive]
> 2014 | return rl_completer_word_break_characters;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | const char*
> make[2]: *** [Makefile:1641: completer.o] Error 1
>
> 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. :)
>
> 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.
>
> Thoughts.
>
> --joel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230215/3b25fe2f/attachment-0001.htm>
More information about the devel
mailing list