This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/1201] New: regex.h problem when compiling with g++
- From: "eggert at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Aug 2005 00:00:12 -0000
- Subject: [Bug regex/1201] New: regex.h problem when compiling with g++
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
This bug report follows up on a gnulib bug whose patch is here:
http://lists.gnu.org/archive/html/bug-gnulib/2005-08/msg00003.html
The problem is that when g++ is used to compile regex.h in the gnulib
context, it gets the diagnostics:
regex.h:569: error: expected primary-expression before "__restrict__"
regex.h:569: error: expected `]' before "__restrict__"
regex.h:569: error: expected `,' or `...' before "__restrict__"
I'll attach the patch.
--
Summary: regex.h problem when compiling with g++
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: regex
AssignedTo: gotom at debian dot or dot jp
ReportedBy: eggert at gnu dot org
CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1201
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.