From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21274 invoked by alias); 9 Nov 2002 02:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21252 invoked by uid 71); 9 Nov 2002 02:56:01 -0000 Resent-Date: 9 Nov 2002 02:56:01 -0000 Resent-Message-ID: <20021109025601.21251.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, bakers@erols.com Received: (qmail 7754 invoked by uid 61); 9 Nov 2002 02:50:18 -0000 Message-Id: <20021109025018.7753.qmail@sources.redhat.com> Date: Fri, 08 Nov 2002 18:56:00 -0000 From: bakers@erols.com Reply-To: bakers@erols.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/8509: regexp.h file needs tweaked to allow it to compile X-SW-Source: 2002-11/txt/msg00445.txt.bz2 List-Id: >Number: 8509 >Category: c++ >Synopsis: regexp.h file needs tweaked to allow it to compile >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Fri Nov 08 18:56:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: baker >Release: GCC 3.2 >Organization: >Environment: Red Hat 8.0 >Description: The regexp.h file seems like the following needs to be done 1. In reqexp.h on line 131, the expbuf was trying to be converted to an unsigned character pointer from a char *__restrict ponter without an explicit modifier/cast. 2. I believe that the macro calls from line 181 to 193 that are RETURN calls should probably be calls to ERROR call. >How-To-Repeat: >Fix: 1. In regexp.h on line 131, the expbuf was trying o be converted to an unsigned character pointer from a char *__restrict pointer without an explicit modifier/cast to an unsigned char pointer. 2. I believe that the calls to RETURN in regexp.h on lines 181 to 193 should be calls to ERROR instead. >Release-Note: >Audit-Trail: >Unformatted: