From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 494 invoked by alias); 13 Feb 2002 18:33:04 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 455 invoked by uid 71); 13 Feb 2002 18:33:02 -0000 Resent-Date: 13 Feb 2002 18:33:02 -0000 Resent-Message-ID: <20020213183302.452.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, Douglas.Swanson@compaq.com Received:(qmail 27577 invoked by uid 61); 13 Feb 2002 18:26:57 -0000 Message-Id:<20020213182657.27575.qmail@sources.redhat.com> Date: Wed, 13 Feb 2002 10:33:00 -0000 From: Douglas.Swanson@compaq.com Reply-To: Douglas.Swanson@compaq.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/126: A "static const int" for an array size causes Insight 5.1 to crash. X-SW-Source: 2002-q1/txt/msg00067.txt.bz2 List-Id: >Number: 126 >Category: insight >Synopsis: A "static const int" for an array size causes Insight 5.1 to crash. >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Feb 13 10:33:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Douglas.Swanson@compaq.com >Release: Insight 5.1 >Organization: >Environment: Win2K / Cygwin >Description: Attempting to expand "this" / "private" in the local variables window for a member function whose class definition includes an array whose size is defined by "static const int" causes Insight 5.1 to abnormally terminate. For example the following class definition provokes the problem. #ifndef LIFE_H #define LIFE_H class Life { public: void initialize(); void print(); void update(); void instructions(); private: static const int maxrow=20, maxcol=60; int grid[maxrow + 2][maxcol + 2]; int neighbor_count(int row, int col); }; #endif >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: