From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23438 invoked by alias); 13 Feb 2015 15:37:48 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 23425 invoked by uid 89); 13 Feb 2015 15:37:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 13 Feb 2015 15:37:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B1AFD116668; Fri, 13 Feb 2015 10:37:44 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 686G4EWI+EF6; Fri, 13 Feb 2015 10:37:44 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 813F6116679; Fri, 13 Feb 2015 10:37:43 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 388C540EAD; Fri, 13 Feb 2015 19:37:41 +0400 (RET) Date: Fri, 13 Feb 2015 15:37:00 -0000 From: Joel Brobecker To: Chen Gang S Cc: "gdb-patches@sourceware.org" Subject: Re: [PATCH] sim/common/gentmap.c: Include "string.h". Message-ID: <20150213153741.GA23529@adacore.com> References: <54DD1ED6.2070100@sunrus.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54DD1ED6.2070100@sunrus.com.cn> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-02/txt/msg00343.txt.bz2 On Fri, Feb 13, 2015 at 05:44:54AM +0800, Chen Gang S wrote: > The related warnings: > > gcc ../../../binutils-gdb/sim/mcore/../common/gentmap.c -o gentmap -g -O -I. -I../../../binutils-gdb/sim/mcore -I../common -I../../../binutils-gdb/sim/mcore/../common -I../../include -I../../../binutils-gdb/sim/mcore/../../include -I../../bfd -I../../../binutils-gdb/sim/mcore/../../bfd -I../../opcodes -I../../../binutils-gdb/sim/mcore/../../opcodes > ../../../binutils-gdb/sim/mcore/../common/gentmap.c: In function ‘main’: > ../../../binutils-gdb/sim/mcore/../common/gentmap.c:119:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] > if (strcmp (argv[1], "-h") == 0) > ^ > > 2015-02-13 Chen Gang > > * gentmap.c: Include "string.h". OK to push. Thank you, -- Joel