public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: andyc@bluearc.com To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org Subject: c++/4657: comparing function pointer with int does not produce error Date: Thu, 25 Oct 2001 16:26:00 -0000 [thread overview] Message-ID: <E15w3RY-0007aV-00@andy-boco.dev.bluearc.com> (raw) >Number: 4657 >Category: c++ >Synopsis: comparing function pointer with int does not produce error >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Oct 25 16:26:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Andy Chittenden >Release: 3.0.2 20011014 (Debian prerelease) (Debian testing/unstable) >Organization: BlueArc UK Ltd >Environment: System: Linux andy-boco 2.4.12 #6 Mon Oct 15 11:55:58 BST 2001 i686 unknown Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux >Description: The following code does not produce an error when one is expected. void stat (); static const int success = 0; void monk () { if (stat == success); }; >How-To-Repeat: Compile above program. >Fix: ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-10-25 16:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-10-25 16:26 andyc [this message] 2002-04-25 9:30 nathan
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=E15w3RY-0007aV-00@andy-boco.dev.bluearc.com \ --to=andyc@bluearc.com \ --cc=debian-gcc@lists.debian.org \ --cc=gcc-gnats@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).