delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/09/22/19:39:23

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Sat, 22 Sep 2001 19:39:53 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019