public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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 ` [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error 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 ` [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error 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

* [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error
       [not found] <bug-10818-6015@http.gcc.gnu.org/bugzilla/>
@ 2006-01-30 13:52 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-30 13:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-01-30 13:52 -------
*** Bug 26030 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wolfgang dot roehrl at gi-de
                   |                            |dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10818


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

end of thread, other threads:[~2006-01-30 13:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030516150601.10818.razeh@yahoo.com>
2003-08-23 15:42 ` [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error 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
2003-12-24 23:24 ` gdr at gcc dot gnu dot org
2005-01-11  2:19 ` pinskia at gcc dot gnu dot org
     [not found] <bug-10818-6015@http.gcc.gnu.org/bugzilla/>
2006-01-30 13:52 ` pinskia at gcc dot gnu dot org

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).