From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10422 invoked by alias); 28 Apr 2005 22:12:48 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10395 invoked from network); 28 Apr 2005 22:12:44 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 28 Apr 2005 22:12:44 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j3SMCh7s027953 for ; Thu, 28 Apr 2005 18:12:43 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j3SMChO13256; Thu, 28 Apr 2005 18:12:43 -0400 Received: from [172.16.50.67] (vpn50-67.rdu.redhat.com [172.16.50.67]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j3SMCh1K020991; Thu, 28 Apr 2005 18:12:43 -0400 Message-ID: <42715EE8.5070704@gnu.org> Date: Thu, 28 Apr 2005 22:12:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 1.0.2-1 (X11/20050323) MIME-Version: 1.0 To: Mark Kettenis CC: gdb-patches@sources.redhat.com Subject: Re: [commit] Use bfd_byte in value.h References: <42710E90.3030300@gnu.org> <200504281919.j3SJJKF1011501@elgar.sibelius.xs4all.nl> In-Reply-To: <200504281919.j3SJJKF1011501@elgar.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00407.txt.bz2 Like I mentioned on gdb@, these are for warnings you get when building with GCC 4 (or for that matter, any modern compiler). vis: cagney@tornado$ cat -n s.c 1 char *c; 2 signed char *s; 3 unsigned char *u; 4 5 void foo (void) 6 { 7 c = s; 8 c = u; 9 s = u; 10 } $ gcc --version gcc (GCC) 4.0.0 20050412 (Red Hat 4.0.0-0.42) ... $ gcc -c s.c s.c: In function foo: s.c:7: warning: pointer targets in assignment differ in signedness s.c:8: warning: pointer targets in assignment differ in signedness s.c:9: warning: pointer targets in assignment differ in signedness