--- Comment #5 from pi3orama at gmail dot com 2009-11-06 06:58 ---
still not solved at 4.3.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
--- Comment #4 from andrew dot stubbs at st dot com 2007-11-01 18:15
---
It gets worse :(
The following example used to be detected by GCC 4.1.1, but is now permitted by
GCC 4.1.2, 4.2.1, 4.2.2, and 4.3-20071026, and hence is a regression.
int
foo (int bar)
try
{
return 0;
}
catch (
--- Comment #1 from fang at csl dot cornell dot edu 2007-05-16 20:46
---
Poor man's workaround: -Wshadow -Werror
--
fang at csl dot cornell dot edu changed:
What|Removed |Added
--
--- Comment #2 from andrew dot stubbs at st dot com 2007-05-17 15:34
---
Another example perhaps?
void
foo()
{
try
{
}
catch (void *e)
{
void *e; // invalid
}
}
The C++ standard, clause 3.3.2 paragraph 3, states that catch
exception-declarations may not be re
--- Comment #3 from bangerth at dealii dot org 2007-05-17 15:51 ---
Confirmed.
--
bangerth at dealii dot org changed:
What|Removed |Added
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
Paolo Carlini changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #9 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
--- Comment #10 from Jason Merrill ---
(In reply to Paolo Carlini from comment #9)
> After Janis' patch (see Comment #6) in pushdecl_maybe_friend_1 we issue hard
> errors for some kinds of shadowings but not for others. For comparison,
> clang iss
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|jason at gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
Paolo Carlini changed:
What|Removed |Added
CC|gcc-bugs at gcc dot gnu.org |janis at gcc dot gnu.org
--- Comment #6 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
Paolo Carlini changed:
What|Removed |Added
CC||cs at plesk dot com
--- Comment #7 from P
11 matches
Mail list logo