On Tue, Sep 10, 2013 at 03:29:35PM +0200, Gerhard R. wrote: > Appreciated. > > > The only really invasive non-obvious one is patch 4. Solaris cc doesn't > > support anonymous unions, but MVMOSHandleBody uses them extensively. > > I had to give the anonymous union a name everywhere in order to get it > > to compile. > > Is this actually necessary if you pass -features=extensions ? The > manual is a bit unclear on that...
Yes, unfortunately, this is still necessary. According to my copy of the Fine Manual, -features=extensions Allows zero-sized struct/union declarations and void function with return statements returning a value to work. which is different from anonymous (but not zero-sized) unions. Just to be sure, I tried anyway, and it didn't handle the anonymous unions. -- Andy Dougherty dough...@lafayette.edu