public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/32402] Error while allocating array of pointers to objects of a pure virtual class Date: Thu, 28 Oct 2010 17:21:00 -0000 [thread overview] Message-ID: <20101028172100.rE-Z7nQ0UJkxX6HssQiMm13QgtwUHNzJkxkuZcuSHfs@z> (raw) In-Reply-To: <bug-32402-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32402 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-28 17:21:03 UTC --- (N.B. this now gets the bogus warning from PR 46159) Grammatically: new (pure (*[3])); is a new-expression, with type-id "pure(*[3])" that type-id has type-specifier-seq "pure" and abstract-declarator "(*[3])" that abstract-declarator is a direct-abstract-declarator, with an abstract-declarator of "*[3]" which is a ptr-operator and an abstract-declarator of "[3]" So I think it's syntactically valid
next parent reply other threads:[~2010-10-28 17:21 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-32402-4@http.gcc.gnu.org/bugzilla/> 2010-10-28 17:21 ` redi at gcc dot gnu.org [this message] 2010-10-28 17:30 ` redi at gcc dot gnu.org 2010-10-28 17:44 ` redi at gcc dot gnu.org 2010-10-30 11:47 ` redi at gcc dot gnu.org 2010-10-31 7:34 ` mark at tibanne dot com 2010-10-31 11:31 ` redi at gcc dot gnu.org 2010-10-31 11:59 ` gcc at waisse dot org 2010-10-31 12:42 ` redi at gcc dot gnu.org 2014-08-10 8:47 ` paolo.carlini at oracle dot com 2007-06-19 14:45 [Bug c++/32402] New: " p dot vestjens at gmail dot com 2007-06-19 14:47 ` [Bug c++/32402] " p dot vestjens at gmail dot com 2007-11-12 15:06 ` gcc at waisse dot org 2007-11-12 15:42 ` gcc at waisse dot org 2007-11-12 19:41 ` zackw at panix dot com 2007-11-13 13:38 ` p dot vestjens at gmail 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=20101028172100.rE-Z7nQ0UJkxX6HssQiMm13QgtwUHNzJkxkuZcuSHfs@z \ --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).