This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/8509: regexp.h file needs tweaked to allow it to compile


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]