This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Build regression on RHEL-5 [Re: [COMMIT PATCH] charset.c: fix -Wpointer-sign]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 10 Mar 2013 20:22:19 +0100
- Subject: Build regression on RHEL-5 [Re: [COMMIT PATCH] charset.c: fix -Wpointer-sign]
- References: <20130307191106.26437.37220.stgit@brno.lan>
On Thu, 07 Mar 2013 20:11:06 +0100, Pedro Alves wrote:
> gdb/
> 2013-03-07 Pedro Alves <palves@redhat.com>
>
> * charset.c (struct wchar_iterator) <input>: Change type to 'const
> gdb_byte *'.
> (make_wchar_iterator): Remove cast to char*.
> (wchar_iterate): Change type of local.
03a29636e9c8396fffddb01febb42c948cd92b20 is the first bad commit
commit 03a29636e9c8396fffddb01febb42c948cd92b20
Author: Pedro Alves <palves@redhat.com>
Date: Thu Mar 7 19:10:37 2013 +0000
cc1: warnings being treated as errors
charset.c: In function ‘wchar_iterate’:
charset.c:649: warning: dereferencing type-punned pointer will break strict-aliasing rules
Tested on CentOS 5.9 x86_64.
Jan