From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11508 invoked by alias); 24 Feb 2014 18:31:13 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 11497 invoked by uid 89); 24 Feb 2014 18:31:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail.ecoscentric.com Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 24 Feb 2014 18:31:09 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 7E1664680010 for ; Mon, 24 Feb 2014 18:31:01 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l9ig+u3SpQ5q; Mon, 24 Feb 2014 18:30:57 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001951] New: ConfigTool - Patch to resolve miscellaneous warnings Date: Mon, 24 Feb 2014 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: andy@xylanta.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg00015.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001951 Bug ID: 1001951 Summary: ConfigTool - Patch to resolve miscellaneous warnings Product: eCos Version: CVS Target: All Architecture/Host HostOS: Win XP/7 OS: Status: UNCONFIRMED Severity: enhancement Priority: low Component: Patches and contributions Assignee: unassigned@bugs.ecos.sourceware.org Reporter: andy@xylanta.com CC: ecos-patches@ecos.sourceware.org Created attachment 2462 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2462&action=edit Patch to resolve miscellaneous warnings This patch resolves a number of warnings when ConfigTool is built using gcc 4.8 and -Wall. Tested on Windows but should apply to all platforms. The patch addresses the following warnings: 1. Long data being passed to printf as a %d (2 instances) 2. Switch statements that don't cover all possible values (2 instances) 3. A multi-line comment 4. An unused static function This follows on from the patch in 1001950. -- You are receiving this mail because: You are on the CC list for the bug.