public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pluto at agmk dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/21948] [diagnostic] enable errors on `cast from/to pointer to/from integer of different size`
Date: Sun, 25 Feb 2007 14:22:00 -0000 [thread overview]
Message-ID: <20070225142231.9601.qmail@sourceware.org> (raw)
In-Reply-To: <bug-21948-7667@http.gcc.gnu.org/bugzilla/>
------- Comment #3 from pluto at agmk dot net 2007-02-25 14:22 -------
(In reply to comment #2)
> Could you elaborate a litte bit more for me?
>
> We have already -Wint-to-pointer-cast and -Wpointer-to-int-cast enabled by
> defaul in C. Don't those work for you?
as i have said, i need a compilation error on such casts.
4.2 has a nice -Werror=foo feature, but this PR is about 4.1.
if you don't plan to backport -Werror=foo feature to 4.1
i'll close this PR with suitable comment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21948
next prev parent reply other threads:[~2007-02-25 14:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-21948-7667@http.gcc.gnu.org/bugzilla/>
2007-02-23 17:43 ` manu at gcc dot gnu dot org
2007-02-25 14:22 ` pluto at agmk dot net [this message]
2007-02-25 16:03 ` manu at gcc dot gnu dot org
2007-02-25 16:17 ` pinskia at gcc dot gnu dot org
2005-06-07 14:40 [Bug other/21948] New: " pluto at agmk dot net
2005-06-07 14:43 ` [Bug c/21948] " pinskia at gcc dot gnu dot org
2005-09-18 1:58 ` 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=20070225142231.9601.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: link
Be 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).