delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |