Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <384161E9.BF6C156A@mdlink.de> Date: Sun, 28 Nov 1999 18:10:01 +0100 From: Helge Hess Organization: MDlink online service center GmbH X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: mlx AT san DOT rr DOT com CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: windows.h breaks ObjC ? References: <9911281643 DOT AA07798 AT mlx DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MarketLogix wrote: > > now try to compile it to object via: > > gcc -c -x objective-c test.c -o test.o > > I get the foillowing: > > Object.h:37: invalid identifier `@struct' > Object.h:37: parse error before `Object' > Object.h:38: syntax error before `{' > Object.h:43: method definition not in class context I don't remember exactly, but I think windows.h has something like this: #define interface struct and the easy fix is to #include #undef interface #include although this might affect windows sources somehow (don't know what interface is good for). Greetings Helge -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com