This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/8509: regexp.h file needs tweaked to allow it to compile
- From: bakers at erols dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 9 Nov 2002 02:50:18 -0000
- Subject: c++/8509: regexp.h file needs tweaked to allow it to compile
- Reply-to: bakers at erols dot com
>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: