Hi Ivan,
On 2017-03-26 23:58:29 +1100 Ivan Vučica <[email protected]> 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
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep