This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [cgf@redhat.com: Re: Fwd: Re: [Refresh]: patch for C++ parser bug with function attributes]
- To: cygwin-apps at cygwin dot com
- Subject: Re: [cgf@redhat.com: Re: Fwd: Re: [Refresh]: patch for C++ parser bug with function attributes]
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Sat, 22 Sep 2001 19:39:53 -0400
- References: <20010922120454.C1668@redhat.com> <20010922233144.72740.qmail@web14507.mail.yahoo.com>
- Reply-To: cygwin-apps at cygwin dot com
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