bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: Error compiling gnustep-startup-0.11.0 using gcc 4.0.0


From: Adam Fedor
Subject: FW: Error compiling gnustep-startup-0.11.0 using gcc 4.0.0
Date: Mon, 20 Jun 2005 12:43:06 -0400

Does this seem like a reasonable solution? Considering the code isn't supposed 
to be used anyway? Or perhaps we should really make good on our promise to 
depreciate this code?

-----Original Message-----
From: Cay Horstmann [mailto:cay@horstmann.com]
Sent: Saturday, June 18, 2005 8:32 PM
To: Adam Fedor
Subject: Re: Error compiling gnustep-startup-0.11.0 using gcc 4.0.0


Hi! I didn't want to join the mailing list for this, but I found a 
workaround and thought you might be able to make use of it. The problem 
is around line 1711 in mframe.m. Replacing size (which was an int 
initialized with 0) with 4

case _C_ARY_B:
     case _C_STRUCT_B:
     case _C_UNION_B:
       {
         typedef struct {
           char  val[/* size */ 4];
         } block;
         inline block retframe_block(void *rframe)
         {
           __builtin_return (rframe);
         }
         *(block*)buffer = retframe_block(retframe);
         break;
       }

I am sorry to say that I don't understand what I am doing, but I was 
able to build GNUStep and GWorkspace after this change.

Hope that helps,

Cay

-- 

Cay S. Horstmann | http://horstmann.com | mailto:cay@horstmann.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]