Hey Grtz,
   The problem is easy enough to find from the output you posted, it's the
line:

   #import <Cocoa/Cocoa.h>

Which you appear to have added in your branch here:
http://github.com/ab3/pygame-mirror/blob/859415df2392bb35d31df13b8d1c4ccc4a278ed5/src/camera.h

You are mixing objective-c code with c code, as Rene pointed out. That's bad
because objective-c is a strict super-set of c, and those "super" bits look
like errors to c compilers.

Whatever the problem was that you were trying to solve by adding that line,
you need to solve a different way.


On Sun, Jul 12, 2009 at 9:08 AM, el lauwer <[email protected]> wrote:

> In file included from
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:23,
>                 from
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
>                 from src/camera.h:49,
>                 from src/_camera.c:36:
>
> you can find the source on http://github.com/ab3/pygame-mirror/tree/master
>
> I have been looking at this error for a long time, so if someone wants to
> give it a try, you are welcome...
>
> Grtz

Reply via email to