From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12190 invoked by alias); 16 Oct 2007 09:18:56 -0000 Received: (qmail 11887 invoked by uid 22791); 16 Oct 2007 09:18:55 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,DK_POLICY_SIGNSOME X-Spam-Check-By: sourceware.org Received: from javad.com (HELO javad.com) (216.122.176.236) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 Oct 2007 09:18:49 +0000 Received: from osv ([87.236.81.130]) by javad.com (8.11.6/8.11.0) with ESMTP id l9G9IB172471; Tue, 16 Oct 2007 09:18:13 GMT (envelope-from s.organov@javad.com) Received: from osv by osv with local (Exim 4.63) (envelope-from ) id 1IhiYu-0005d1-IF; Tue, 16 Oct 2007 13:18:04 +0400 From: Sergei Organov To: Gary Thomas Cc: Sergei Gavrikov , eCos patches list Subject: Re: Pedantic preprocessor References: <20071013214906.GA9874@ubuntu> <47134EFE.9070602@mlbassoc.com> Date: Tue, 16 Oct 2007 09:18:00 -0000 In-Reply-To: <47134EFE.9070602@mlbassoc.com> (Gary Thomas's message of "Mon, 15 Oct 2007 05:29:02 -0600") Message-ID: <87sl4bv2nn.fsf@javad.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.20 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 X-SW-Source: 2007-10/txt/msg00013.txt.bz2 Gary Thomas writes: > Sergei Gavrikov wrote: [...] >> ecosconfig new sam7ex256 >> ecosconfig tree >> make -s >> U CYGHWR_HAL_ARM_AT91, new inferred value AT91SAM7S >> U CYGHWR_HAL_ARM_AT91_FIQ, new inferred value 1 >> U CYGHWR_HAL_ARM_AT91SAM7, new inferred value at91sam7x256 >> headers finished >> cc1: warning: command line option "-Woverloaded-virtual" is valid for C++/ObjC++ but not for C >> cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C >> cc1: warning: command line option "-Woverloaded-virtual" is valid for C++/ObjC++ but not for C >> cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C >> cc1: warning: command line option "-Woverloaded-virtual" is valid for C++/ObjC++ but not for C >> cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C >> build finished >> [...] >> I like to see these 2 lines together. And if anybody knows how to fix >> this issue in platform CDL, please, enlight me. >> > Your patch is the correct one - I've applied it. Next time, don't > forget the ChangeLog entry. Is there anybody here who is willing/capable to fix the rest of HALs the same way, as every HAL in eCos suffers from the same problem (e.g., I recently happened to do the same thing for SPARC HAL)? -- Sergei.