This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build regression on RHEL-5 [Re: [COMMIT PATCH] charset.c: fix -Wpointer-sign]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]