From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6541 invoked by alias); 23 Aug 2006 14:50:16 -0000 Received: (qmail 6530 invoked by uid 22791); 23 Aug 2006 14:50:15 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0102.google.com (HELO nz-out-0102.google.com) (64.233.162.198) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 Aug 2006 14:50:12 +0000 Received: by nz-out-0102.google.com with SMTP id z3so94835nzf for ; Wed, 23 Aug 2006 07:50:10 -0700 (PDT) Received: by 10.65.219.4 with SMTP id w4mr519563qbq; Wed, 23 Aug 2006 07:50:10 -0700 (PDT) Received: by 10.65.124.11 with HTTP; Wed, 23 Aug 2006 07:50:10 -0700 (PDT) Message-ID: <4fc6d8c0608230750nff8c767hd2e4cf42ffe424f4@mail.gmail.com> Date: Wed, 23 Aug 2006 14:50:00 -0000 From: "Siva Kumar" Reply-To: jrsiva@cradle.com To: "eCos Discussion" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] CYGNUM_INFRA_EMPTY_DELETE_THRESHOLD value X-SW-Source: 2006-08/txt/msg00214.txt.bz2 I took the latest CVS code base and built ecos. But with assertions enabled, I'm running into assertion on cxxsupp.cxx test case wherein the condition : CYG_ASSERT(counter < CYGNUM_INFRA_EMPTY_DELETE_THRESHOLD, "Do you want an empty delete function?"); is failing in the first delete call itself (counter value is 1). In the ecos library [include/pkgconf/infra.h], I saw that the value of CYGNUM_INFRA_EMPTY_DELETE_THRESHOLD is just '1' and not 100 as the descriptions say. Hence the assertion! In the infra.cdl, when I changed the flavor of the above macro to data, the ecc file was generated as needed with the value of the macro as default (100). With this ecc, when I built the target file, assertion never happened. Why is CYGNUM_INFRA_EMPTY_DELETE_THRESHOLD, a boolean instead of data, if it has to take a value of 100 by default? Pls shed some light. Regards Siv -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss