This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: C++-compat clean build
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: ooprala at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 1 Oct 2013 14:04:26 +0200 (CEST)
- Subject: Re: C++-compat clean build
- Authentication-results: sourceware.org; auth=none
- References: <524AB12E dot 8090209 at redhat dot com>
> Date: Tue, 01 Oct 2013 13:25:34 +0200
> From: Ondrej Oprala <ooprala@redhat.com>
>
> Hi,
> this is the first of a few patches I intend to write to make gdb code
> compile cleanly with -Wc++-compat.
> The idea is to make separate patches for respective subdirs under gdb/,
> unless someone objects ofc.
>
> Thanks in advance for any advice/criticism.
Rejected. Introducing all these casts can't be right. They hide type
conversion issues and make the code unreadable.