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++/28107] Incomplete type in struct added to global namespace
Date: Thu, 05 Sep 2013 17:44:00 -0000	[thread overview]
Message-ID: <bug-28107-4-PRvFtPa63p@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-28107-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28107

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, this is invalid, a member definition such as "union B b;" does not declare
a nested type, that would be:

struct A {
    union B;
    B b;
};


  parent reply	other threads:[~2013-09-05 17:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-28107-4@http.gcc.gnu.org/bugzilla/>
2013-05-13 14:21 ` paolo.carlini at oracle dot com
2013-09-05 17:24 ` paolo.carlini at oracle dot com
2013-09-05 17:44 ` redi at gcc dot gnu.org [this message]
2006-06-20 19:39 [Bug c++/28107] New: " reichelt at gcc dot gnu dot org
2006-06-20 19:40 ` [Bug c++/28107] " pinskia at gcc dot gnu dot org
2007-08-17 15:37 ` pcarlini at suse dot de

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=bug-28107-4-PRvFtPa63p@http.gcc.gnu.org/bugzilla/ \
    --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).