From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25857 invoked by alias); 17 May 2012 17:04:21 -0000 Received: (qmail 25835 invoked by uid 22791); 17 May 2012 17:04:17 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 May 2012 17:04:01 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id B5A763770002 for ; Thu, 17 May 2012 18:04:00 +0100 (BST) 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 CgyD-wPb52mv; Thu, 17 May 2012 18:03:59 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001344] Allow nc_test_slave for lwIP to compile for targets with 128KiB RAM. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: ilijak@siva.com.mk X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Thu, 17 May 2012 17:04:00 -0000 Message-Id: <20120517170359.7BE542F78006@mail.ecoscentric.com> 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: 2012-05/txt/msg00059.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=3D1001344 --- Comment #26 from Ilija Kocho 2012-05-17 18:03:56 B= ST --- (In reply to comment #25) > (In reply to comment #24) > >=20 > > In the case of the addition of CYGBLD_ATTRIB_UNUSED, I think it should = be > > CYGBLD_ATTRIB_USED, otherwise the calculation may be thrown away which = defeats > > the purpose. >=20 > To be clear, assuming you agree with that change, then please go ahead and > commit. CYGBLD_ATTRIB_USED won't suppress the warning: ... /home/vae/Proekti/ecos/repo/cvs/current/ecos_kin/packages/net/lwip_tcpip/cu= rrent/tests/nc_test_slave.c: In function =E2=80=98do_some_random_computation=E2=80=99: /home/vae/Proekti/ecos/repo/cvs/current/ecos_kin/packages/net/lwip_tcpip/cu= rrent/tests/nc_test_slave.c:681:5: warning: =E2=80=98used=E2=80=99 attribute ignored [-Wattributes] /home/vae/Proekti/ecos/repo/cvs/current/ecos_kin/packages/net/lwip_tcpip/cu= rrent/tests/nc_test_slave.c:681:21: warning: variable =E2=80=98x=E2=80=99 set but not used [-Wunused-but-set-va= riable] ... CYGBLD_ATTRIB_UNUSED, contrary to what it's name implies, will keep the variable. Ref: Bug 1001520 --=20 Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.