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++/31489] error says struct when it should say class Date: Thu, 05 Apr 2007 23:09:00 -0000 [thread overview] Message-ID: <20070405230914.12620.qmail@sourceware.org> (raw) In-Reply-To: <bug-31489-13581@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-06 00:09 ------- I don't think this matters anyways as class == struct and can be used interchangably for tags. if you summit a patch, see what this shows you: struct foobar; int main() { foobar * o = new foobar; } Or even this: struct foobar; class foobar; int main() { foobar * o = new foobar; } Since all three are the same code, so it is weird not to have struct == class here really. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31489
next prev parent reply other threads:[~2007-04-05 23:09 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-04-05 22:50 [Bug c++/31489] New: " jg at jguk dot org 2007-04-05 23:09 ` pinskia at gcc dot gnu dot org [this message] 2007-04-07 15:23 ` [Bug c++/31489] " bangerth at dealii dot org [not found] <bug-31489-4@http.gcc.gnu.org/bugzilla/> 2011-09-27 10:15 ` paolo.carlini at oracle dot com 2011-09-27 21:57 ` paolo at gcc dot gnu.org 2011-09-27 22:06 ` paolo.carlini at oracle dot com
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=20070405230914.12620.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).