discuss-gnustep
[Top][All Lists]
Advanced

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

Re: failure building gnustep cairo backend, and gnustep-examples on Ope


From: Sebastian Reitenbach
Subject: Re: failure building gnustep cairo backend, and gnustep-examples on OpenBSD sparc
Date: Wed, 18 May 2011 08:33:30 +0200
User-agent: SOGoMail 1.3.7

Hi,
 
On Tuesday, May 17, 2011 11:07 CEST, David Chisnall <theraven@sucs.org> wrote: 
 
> On 17 May 2011, at 09:20, Fred Kiefer wrote:
> 
> > - Either the compiler has an issue with seeing "id" used as a variable name.
> 
> 
> This sounds quite plausible.  We had a similar problem with some GNUstep 
> headers that used template as an argument name and could then not be included 
> in ObjC++ programs and with some glibc headers that use __block as an 
> argument name.
> 
> Try replacing this
> 
> #include <gl.h>
> 
> With this:
> 
> #define id gl_id
> #include <gl.h>
> #undef id
This worked, and sth. similar will probably also work for the -cairo backend, 
still need to try it out.!

Attached patch fixes the build of gnustep-examples using gcc-2.95.

cheers,
Sebastian

> 
> David
> 
> 
> -- Sent from my Cray X1
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
 
 
 
 

Attachment: patch-gui_MyGL_AppController_m
Description: Binary data


reply via email to

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