discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Examples of apps using a list, table, or spreadsheet


From: Svetlana Tkachenko
Subject: Re: Examples of apps using a list, table, or spreadsheet
Date: Thu, 13 Apr 2017 21:26:01 +1000
User-agent: GNUMail (Version 1.2.2)

Hi Ivan,

On 2017-03-26 23:58:29 +1100 Ivan Vučica <ivan@vucica.net> wrote:
> Example on how to implement a datasource with no interface builder on
> either of the platforms: https://bitbucket.org/ivucica/hellognustep

Thanks for the thought of a small and uninvolved example. Running 'make' on 
this gives me an error message,

HelloGNUstepOutlineView.m: In function ‘-[DataSource init]’:
HelloGNUstepOutlineView.m:81:5: error: ‘for’ loop initial declarations are only
allowed in C99 or C11 mode
     for(int i = 0; i < 2; i++)
     ^~~
HelloGNUstepOutlineView.m:81:5: note: use option -std=c99, -std=gnu99, -std=c11
or -std=gnu11 to compile your code
HelloGNUstepOutlineView.m:85:2: error: ‘for’ loop initial declarations are only
allowed in C99 or C11 mode
  for(int j = 0; j < 4; j++)
  ^~~

I'm not sure what to do with it at this stage...


Svetlana




reply via email to

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