[haiku-development] sigaction:sa_sigaction

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 22 Aug 2012 13:23:16 +0200

When porting dtc, make tests fail currently due to this code:

        struct sigaction sa_int = {
                .sa_sigaction = sigint_handler,
        };

It seems gcc4 doesn't like it due to the unnamed union in our sigaction
declaration...
or maybe it's just too old and I should update my dev partition, anyone
with a recent gcc who could test it?

I can work around it but IIRC it's not the first time I stumble on this.

François.

Other related posts: