* [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error
[not found] <20030516150601.10818.razeh@yahoo.com>
@ 2003-08-23 15:42 ` pinskia at gcc dot gnu dot org
2003-08-29 8:04 ` gdr at integrable-solutions dot net
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 15:42 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10818
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords|rejects-valid |accepts-invalid
Last reconfirmed|2003-03-05 00:00:00 |2003-08-23 15:42:42
date| |
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error
[not found] <20030516150601.10818.razeh@yahoo.com>
2003-08-23 15:42 ` pinskia at gcc dot gnu dot org
@ 2003-08-29 8:04 ` gdr at integrable-solutions dot net
2003-08-29 19:39 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-08-29 8:04 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10818
------- Additional Comments From gdr at integrable-solutions dot net 2003-08-29 08:04 -------
Subject: Re: C-style cast to void* of a pointer-to-member-function does not issue a warning/error
oops, this is operator error.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error
[not found] <20030516150601.10818.razeh@yahoo.com>
2003-08-23 15:42 ` pinskia at gcc dot gnu dot org
2003-08-29 8:04 ` gdr at integrable-solutions dot net
@ 2003-08-29 19:39 ` mmitchel at gcc dot gnu dot org
2003-09-08 7:32 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-08-29 19:39 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10818
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mmitchel at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-08-29 19:39 -------
I've unassigned myself; until/unless this turns out to be a regression caused by
one of my patches.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error
[not found] <20030516150601.10818.razeh@yahoo.com>
` (2 preceding siblings ...)
2003-08-29 19:39 ` mmitchel at gcc dot gnu dot org
@ 2003-09-08 7:32 ` ebotcazou at gcc dot gnu dot org
2003-12-24 23:24 ` gdr at gcc dot gnu dot org
2005-01-11 2:19 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-08 7:32 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10818
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|sparc-sun-solaris2.8 |
GCC host triplet|sparc-sun-solaris2.8 |
GCC target triplet|sparc-sun-solaris2.8 |
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-09-08 07:32 -------
Generic C++ front-end problem.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error
[not found] <20030516150601.10818.razeh@yahoo.com>
` (3 preceding siblings ...)
2003-09-08 7:32 ` ebotcazou at gcc dot gnu dot org
@ 2003-12-24 23:24 ` gdr at gcc dot gnu dot org
2005-01-11 2:19 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-12-24 23:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2003-12-24 23:03 -------
mine.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |gdr at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10818
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error
[not found] <20030516150601.10818.razeh@yahoo.com>
` (4 preceding siblings ...)
2003-12-24 23:24 ` gdr at gcc dot gnu dot org
@ 2005-01-11 2:19 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-11 2:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-11 02:19 -------
We only warn about all three cases with "-pedantic" in 4.0.0 only.
There is a DR report asking if this is valid C++ or not, I think there is another bug about that.
So closing as fixed.
This was changed with the following patches:
2004-10-28 Nathan Sidwell <nathan@codesourcery.com>
* typeck.c (composite_pointer_type): Remove comment about DR 195.
(build_reinterpret_cast_1): Revert DR195 patch. Only emit a
warning when being pedantic.
(build_reinterpet_cast, build_c_cast): Adjust.
2004-10-20 Nathan Sidwell <nathan@codesourcery.com>
* typeck.c (composite_pointer_type): Add comment about DR 195
(build_reinterpret_cast_1): Add for_reinterpret_cast_p parameter.
Allow function pointer conversions that DR195 suggests.
(build_reinterpret_cast, build_c_cast): Update
build_reinterpret_cast_1 calls.
2004-10-19 Mark Mitchell <mark@codesourcery.com>
PR c++/14035
....
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10818
^ permalink raw reply [flat|nested] 7+ messages in thread