Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Sat, 22 Sep 2001 19:39:53 -0400 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Subject: Re: [cgf AT redhat DOT com: Re: Fwd: Re: [Refresh]: patch for C++ parser bug with function attributes] Message-ID: <20010922193953.A8397@redhat.com> Reply-To: cygwin-apps AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com References: <20010922120454 DOT C1668 AT redhat DOT com> <20010922233144 DOT 72740 DOT qmail AT web14507 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010922233144.72740.qmail@web14507.mail.yahoo.com> User-Agent: Mutt/1.3.21i On Sun, Sep 23, 2001 at 09:31:43AM +1000, Danny Smith wrote: >This is illegal in C++ according to section 9.5 of std. > >struct a { > union /* anon */ { > struct b_struct { > int c; > }; > int b_int; > }; >}; > >struct b_struct has to be defined outside of anon union namespace (ie >non-static wrt to the union). Ah. I see. Thanks. >The two types in w32api that violate this are PROCESS_HEAP_ENTRY in >winbase.h and REPARSE_DATA_BUFFER in winnt.h > > >> >> >Another I sent to Joseph (see below). >> > >> >The rest were litle bits for libstdc++ (no SIGTRAP) or changes in >> >mingw32.h to override the cygwin directory specs. >> >> Do you want me to update mingw32.h in the gcc.gnu.org repository? > >Yes, I will have some sleep and then look at my changes again first >though. Also, as before, involves a define in cygwin.h (ifdef >WIN32_BUILD_RELOCATABLE_PACKAGE, as per Mumit's diff to 3.0) to prevent >some undefs of command line macros. Unfortunately, I've missed anything that Mumit may have posted to gcc-patches. I do scan periodically for email containing the word "cygwin", though. I don't know how I could have missed a patch to cygwin.h. cgf