public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/10818] C-style cast to void* of a pointer-to-member-function does not issue a warning/error Date: Tue, 11 Jan 2005 02:19:00 -0000 [thread overview] Message-ID: <20050111021925.13761.qmail@sourceware.org> (raw) In-Reply-To: <20030516150601.10818.razeh@yahoo.com> ------- 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
next prev parent reply other threads:[~2005-01-11 2:19 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top [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 2003-12-24 23:24 ` gdr at gcc dot gnu dot org 2005-01-11 2:19 ` pinskia at gcc dot gnu dot org [this message] [not found] <bug-10818-6015@http.gcc.gnu.org/bugzilla/> 2006-01-30 13:52 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050111021925.13761.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).