public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/1215] New: regex_internal patch to avoid warnings with gcc -Wshadow
@ 2005-08-19 22:58 eggert at gnu dot org
  2005-08-19 22:59 ` [Bug regex/1215] " eggert at gnu dot org
  2005-09-06 17:31 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: eggert at gnu dot org @ 2005-08-19 22:58 UTC (permalink / raw)
  To: glibc-bugs-regex

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug regex/1215] regex_internal patch to avoid warnings with gcc -Wshadow
  2005-08-19 22:58 [Bug regex/1215] New: regex_internal patch to avoid warnings with gcc -Wshadow eggert at gnu dot org
@ 2005-08-19 22:59 ` eggert at gnu dot org
  2005-09-06 17:31 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: eggert at gnu dot org @ 2005-08-19 22:59 UTC (permalink / raw)
  To: glibc-bugs-regex


------- Additional Comments From eggert at gnu dot org  2005-08-19 22:59 -------
Created an attachment (id=593)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=593&action=view)
rename local variables to avoid -Wshadow warnings


-- 


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug regex/1215] regex_internal patch to avoid warnings with gcc -Wshadow
  2005-08-19 22:58 [Bug regex/1215] New: regex_internal patch to avoid warnings with gcc -Wshadow eggert at gnu dot org
  2005-08-19 22:59 ` [Bug regex/1215] " eggert at gnu dot org
@ 2005-09-06 17:31 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2005-09-06 17:31 UTC (permalink / raw)
  To: glibc-bugs-regex


------- Additional Comments From drepper at redhat dot com  2005-09-06 17:31 -------
I applied some form of this patch.  But since the patch wasn't created correctly
or at least up-to-date I had to do it all manually.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-06 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-19 22:58 [Bug regex/1215] New: regex_internal patch to avoid warnings with gcc -Wshadow eggert at gnu dot org
2005-08-19 22:59 ` [Bug regex/1215] " eggert at gnu dot org
2005-09-06 17:31 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).