This is the mail archive of the
glibc-bugs-regex@sourceware.org
mailing list for the glibc project.
[Bug regex/1215] New: regex_internal patch to avoid warnings with gcc -Wshadow
- From: "eggert at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs-regex at sources dot redhat dot com
- Date: 19 Aug 2005 22:58:51 -0000
- Subject: [Bug regex/1215] New: regex_internal patch to avoid warnings with gcc -Wshadow
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
When regex_internal.c is compiled in a gnulib environment with
gcc -Wshadow, GCC outputs some warnings because regex_internal
declares local variables with the same name as variables in an
outer block. I'll attach a patch to fix this, by uniformly renaming
variables using a consistent naming convention.
--
Summary: regex_internal patch to avoid warnings with gcc -Wshadow
Product: glibc
Version: 2.3.5
Status: NEW
Severity: minor
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=1215
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.