{"action":"created","issue":{"url":"https://api.github.com/repos/jdolan/ObjectivelyMVC/issues/5","repository_url":"https://api.github.com/repos/jdolan/ObjectivelyMVC","labels_url":"https://api.github.com/repos/jdolan/ObjectivelyMVC/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jdolan/ObjectivelyMVC/issues/5/comments","events_url":"https://api.github.com/repos/jdolan/ObjectivelyMVC/issues/5/events","html_url":"https://github.com/jdolan/ObjectivelyMVC/issues/5","id":178607519,"number":5,"title":"Cygwin build fails","user":{"login":"tapir","id":223984,"avatar_url":"https://avatars.githubusercontent.com/u/223984?v=3","gravatar_id":"","url":"https://api.github.com/users/tapir","html_url":"https://github.com/tapir","followers_url":"https://api.github.com/users/tapir/followers","following_url":"https://api.github.com/users/tapir/following{/other_user}","gists_url":"https://api.github.com/users/tapir/gists{/gist_id}","starred_url":"https://api.github.com/users/tapir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapir/subscriptions","organizations_url":"https://api.github.com/users/tapir/orgs","repos_url":"https://api.github.com/users/tapir/repos","events_url":"https://api.github.com/users/tapir/events{/privacy}","received_events_url":"https://api.github.com/users/tapir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T13:18:17Z","updated_at":"2016-09-23T14:25:37Z","closed_at":null,"body":"I'm reopening this issue.\r\n\r\nI have successfully built and installed objectively on cygwin with autotools.\r\n\r\nBut when I try to build mvc I get these errors. I have no idea what these are. Looks like syntax errors but can be something else as well.\r\n\r\nAs you mentioned before, getting these errors after successfully compiling objectively is strange but it still is the fact.\r\n\r\nAny ideas?\r\n\r\n```\r\ncbas@TUR-TRI-L022 ~/Desktop/objectivelymvc\r\n$ make -j8\r\nmake  all-recursive\r\nmake[1]: Entering directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc'\r\nMaking all in Assets\r\nmake[2]: Entering directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc/Assets'\r\nmake[2]: Nothing to be done for 'all'.\r\nmake[2]: Leaving directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc/Assets'\r\nMaking all in Sources\r\nmake[2]: Entering directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc/Sources'\r\nMaking all in ObjectivelyMVC\r\nmake[3]: Entering directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc/Sources/ObjectivelyMVC'\r\n  CC       libObjectivelyMVC_la-Button.lo\r\n  CC       libObjectivelyMVC_la-Checkbox.lo\r\n  CC       libObjectivelyMVC_la-CollectionItemView.lo\r\n  CC       libObjectivelyMVC_la-CollectionView.lo\r\n  CC       libObjectivelyMVC_la-Control.lo\r\n  CC       libObjectivelyMVC_la-Font.lo\r\n  CC       libObjectivelyMVC_la-ImageView.lo\r\n  CC       libObjectivelyMVC_la-Input.lo\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/Text.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:29,\r\n                 from ../../Sources/ObjectivelyMVC/Button.h:26,\r\n                 from Button.c:26:\r\n/usr/include/Objectively/Data.h:63:17: error: expected identifier or ‘(’ before ‘struct’\r\n  DataInterface *interface;\r\n                 ^\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/Text.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:29,\r\n                 from ../../Sources/ObjectivelyMVC/Checkbox.h:26,\r\n                 from Checkbox.c:26:\r\n/usr/include/Objectively/Data.h:63:17: error: expected identifier or ‘(’ before ‘struct’\r\n  DataInterface *interface;\r\n                 ^\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Font.h:79:17: error: expected identifier or ‘(’ before ‘struct’\r\n  FontInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Text.h:57:17: error: expected identifier or ‘(’ before ‘struct’\r\n  TextInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Control.h:112:20: error: expected identifier or ‘(’ before ‘struct’\r\n  ControlInterface *interface;\r\n                    ^\r\n../../Sources/ObjectivelyMVC/Button.h:60:19: error: expected identifier or ‘(’ before ‘struct’\r\n  ButtonInterface *interface;\r\n                   ^\r\nButton.c: In function ‘dealloc’:\r\nButton.c:41:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nButton.c: In function ‘awakeWithDictionary’:\r\nButton.c:51:2: error: expected identifier before ‘struct’\r\n  super(View, self, awakeWithDictionary, dictionary);\r\n  ^\r\nButton.c:59:2: error: expected identifier before ‘struct’\r\n  $(self, bind, dictionary, inlets);\r\n  ^\r\nButton.c: In function ‘init’:\r\nButton.c:66:18: error: expected identifier before ‘struct’\r\n  return (View *) $((Button *) self, initWithFrame, NULL, ControlStyleDefault);\r\n                  ^\r\nButton.c: In function ‘sizeThatFits’:\r\nButton.c:74:18: error: expected identifier before ‘struct’\r\n  SDL_Size size = super(View, self, sizeThatFits);\r\n                  ^\r\nButton.c: In function ‘captureEvent’:\r\nButton.c:101:7: error: expected identifier before ‘struct’\r\n   if ($((View *) self, didReceiveEvent, event)) {\r\n       ^\r\nButton.c:112:9: error: expected identifier before ‘struct’\r\n  return super(Control, self, captureEvent, event);\r\n         ^\r\nButton.c: In function ‘initWithFrame’:\r\nButton.c:124:20: error: expected identifier before ‘struct’\r\n  self = (Button *) super(Control, self, initWithFrame, frame, style);\r\n                    ^\r\nButton.c:127:17: error: expected identifier before ‘struct’\r\n   self->title = alloc(Text, initWithText, NULL, NULL);\r\n                 ^\r\nButton.c:130:3: error: expected identifier before ‘struct’\r\n   $((View *) self, addSubview, (View *) self->title);\r\n   ^\r\nButton.c: In function ‘initialize’:\r\nButton.c:155:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\nButton.c:157:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->awakeWithDictionary = awakeWithDictionary;\r\n                            ^\r\nButton.c:158:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->init = init;\r\n                            ^\r\nButton.c:159:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->sizeThatFits = sizeThatFits;\r\n                            ^\r\nButton.c:161:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->captureEvent = captureEvent;\r\n                               ^\r\nButton.c:163:30: error: expected identifier before ‘struct’\r\n  ((ButtonInterface *) clazz->interface)->initWithFrame = initWithFrame;\r\n                              ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_events.h:31,\r\n                 from ../../Sources/ObjectivelyMVC/Action.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:28,\r\n                 from ../../Sources/ObjectivelyMVC/Button.h:26,\r\n                 from Button.c:26:\r\nButton.c: At top level:\r\nButton.c:170:38: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(Button, interface),\r\n                                      ^\r\n../../Sources/ObjectivelyMVC/Font.h:79:17: error: expected identifier or ‘(’ before ‘struct’\r\n  FontInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Text.h:57:17: error: expected identifier or ‘(’ before ‘struct’\r\n  TextInterface *interface;\r\n                 ^\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/Text.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:29,\r\n                 from ../../Sources/ObjectivelyMVC/Input.h:26,\r\n                 from Input.c:26:\r\n/usr/include/Objectively/Data.h:63:17: error: expected identifier or ‘(’ before ‘struct’\r\n  DataInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Control.h:112:20: error: expected identifier or ‘(’ before ‘struct’\r\n  ControlInterface *interface;\r\n                    ^\r\n../../Sources/ObjectivelyMVC/Image.h:57:18: error: expected identifier or ‘(’ before ‘struct’\r\n  ImageInterface *interface;\r\n                  ^\r\n../../Sources/ObjectivelyMVC/ImageView.h:57:22: error: expected identifier or ‘(’ before ‘struct’\r\n  ImageViewInterface *interface;\r\n                      ^\r\n../../Sources/ObjectivelyMVC/Checkbox.h:63:21: error: expected identifier or ‘(’ before ‘struct’\r\n  CheckboxInterface *interface;\r\n                     ^\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\nCheckbox.c: In function ‘dealloc’:\r\nCheckbox.c:98:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nCheckbox.c: In function ‘awakeWithDictionary’:\r\nCheckbox.c:108:2: error: expected identifier before ‘struct’\r\n  super(View, self, awakeWithDictionary, dictionary);\r\n  ^\r\nCheckbox.c:116:2: error: expected identifier before ‘struct’\r\n  $(self, bind, dictionary, inlets);\r\n  ^\r\nCheckbox.c: In function ‘init’:\r\nCheckbox.c:123:18: error: expected identifier before ‘struct’\r\n  return (View *) $((Checkbox *) self, initWithFrame, NULL, ControlStyleDefault);\r\n                  ^\r\nCheckbox.c: In function ‘render’:\r\nCheckbox.c:131:2: error: expected identifier before ‘struct’\r\n  super(View, self, render, renderer);\r\n  ^\r\nCheckbox.c: In function ‘captureEvent’:\r\nCheckbox.c:153:7: error: expected identifier before ‘struct’\r\n   if ($((View *) this->box, didReceiveEvent, event)) {\r\n       ^\r\nCheckbox.c:159:9: error: expected identifier before ‘struct’\r\n  return super(Control, self, captureEvent, event);\r\n         ^\r\nCheckbox.c: In function ‘initWithFrame’:\r\nCheckbox.c:171:22: error: expected identifier before ‘struct’\r\n  self = (Checkbox *) super(Control, self, initWithFrame, frame, style);\r\n                      ^\r\nCheckbox.c:176:15: error: expected identifier before ‘struct’\r\n   self->box = alloc(Control, initWithFrame, frame, style);\r\n               ^\r\nCheckbox.c:181:17: error: expected identifier before ‘struct’\r\n   self->check = alloc(ImageView, initWithImage, _check);\r\n                 ^\r\nCheckbox.c:186:3: error: expected identifier before ‘struct’\r\n   $((View *) self->box, addSubview, (View *) self->check);\r\n   ^\r\nCheckbox.c:187:3: error: expected identifier before ‘struct’\r\n   $((View *) self, addSubview, (View *) self->box);\r\n   ^\r\nCheckbox.c: In function ‘initialize’:\r\nCheckbox.c:214:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\nCheckbox.c:216:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->awakeWithDictionary = awakeWithDictionary;\r\n                            ^\r\nCheckbox.c:217:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->init = init;\r\n                            ^\r\nCheckbox.c:218:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->render = render;\r\n                            ^\r\nCheckbox.c:220:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->captureEvent = captureEvent;\r\n                               ^\r\nCheckbox.c:222:32: error: expected identifier before ‘struct’\r\n  ((CheckboxInterface *) clazz->interface)->initWithFrame = initWithFrame;\r\n                                ^\r\nCheckbox.c:224:20: error: expected identifier before ‘struct’\r\n  Data *checkData = alloc(Data, initWithBytes, _checkData, lengthof(_checkData));\r\n                    ^\r\nCheckbox.c:226:11: error: expected identifier before ‘struct’\r\n  _check = alloc(Image, initWithData, checkData);\r\n           ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_events.h:31,\r\n                 from ../../Sources/ObjectivelyMVC/Action.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:28,\r\n                 from ../../Sources/ObjectivelyMVC/Checkbox.h:26,\r\n                 from Checkbox.c:26:\r\nCheckbox.c: At top level:\r\nCheckbox.c:242:40: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(Checkbox, interface),\r\n                                        ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/Text.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:29,\r\n                 from Control.c:26:\r\n/usr/include/Objectively/Data.h:63:17: error: expected identifier or ‘(’ before ‘struct’\r\n  DataInterface *interface;\r\n                 ^\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/Text.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:29,\r\n                 from ../../Sources/ObjectivelyMVC/CollectionView.h:28,\r\n                 from CollectionView.c:26:\r\n/usr/include/Objectively/Data.h:63:17: error: expected identifier or ‘(’ before ‘struct’\r\n  DataInterface *interface;\r\n                 ^\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/ImageView.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/CollectionItemView.h:26,\r\n                 from CollectionItemView.c:26:\r\n/usr/include/Objectively/Array.h:75:18: error: expected identifier or ‘(’ before ‘struct’\r\n  ArrayInterface *interface;\r\n                  ^\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\n/usr/include/Objectively/MutableArray.h:57:25: error: expected identifier or ‘(’ before ‘struct’\r\n  MutableArrayInterface *interface;\r\n                         ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/ImageView.h:57:22: error: expected identifier or ‘(’ before ‘struct’\r\n  ImageViewInterface *interface;\r\n                      ^\r\n../../Sources/ObjectivelyMVC/Font.h:79:17: error: expected identifier or ‘(’ before ‘struct’\r\n  FontInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Text.h:57:17: error: expected identifier or ‘(’ before ‘struct’\r\n  TextInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Control.h:112:20: error: expected identifier or ‘(’ before ‘struct’\r\n  ControlInterface *interface;\r\n                    ^\r\n../../Sources/ObjectivelyMVC/Label.h:56:18: error: expected identifier or ‘(’ before ‘struct’\r\n  LabelInterface *interface;\r\n                  ^\r\n../../Sources/ObjectivelyMVC/StackView.h:87:22: error: expected identifier or ‘(’ before ‘struct’\r\n  StackViewInterface *interface;\r\n                      ^\r\n../../Sources/ObjectivelyMVC/Input.h:77:18: error: expected identifier or ‘(’ before ‘struct’\r\n  InputInterface *interface;\r\n                  ^\r\nInput.c: In function ‘dealloc’:\r\nInput.c:49:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nInput.c: In function ‘awakeWithDictionary’:\r\nInput.c:59:2: error: expected identifier before ‘struct’\r\n  super(View, self, awakeWithDictionary, dictionary);\r\n  ^\r\nInput.c:69:2: error: expected identifier before ‘struct’\r\n  $(self, bind, dictionary, inlets);\r\n  ^\r\nInput.c:71:2: error: expected identifier before ‘struct’\r\n  $(this, setOrientation, this->orientation);\r\n  ^\r\nInput.c: In function ‘init’:\r\nInput.c:78:18: error: expected identifier before ‘struct’\r\n  return (View *) $((Input *) self, initWithFrame, NULL);\r\n                  ^\r\nInput.c: In function ‘initWithFrame’:\r\nInput.c:90:19: error: expected identifier before ‘struct’\r\n  self = (Input *) super(StackView, self, initWithFrame, frame);\r\n                   ^\r\nInput.c:93:19: error: expected identifier before ‘struct’\r\n   self->control = alloc(Control, initWithFrame, NULL, ControlStyleDefault);\r\n                   ^\r\nInput.c:96:17: error: expected identifier before ‘struct’\r\n   self->label = alloc(Label, initWithText, NULL, NULL);\r\n                 ^\r\nInput.c:99:3: error: expected identifier before ‘struct’\r\n   $((View *) self, addSubview, (View *) self->control);\r\n   ^\r\nInput.c:100:3: error: expected identifier before ‘struct’\r\n   $((View *) self, addSubview, (View *) self->label);\r\n   ^\r\nInput.c:102:3: error: expected identifier before ‘struct’\r\n   $(self, setOrientation, InputOrientationLeft);\r\n   ^\r\nInput.c: In function ‘setControl’:\r\nInput.c:119:2: error: expected identifier before ‘struct’\r\n  $((View *) self, removeSubview, (View *) self->control);\r\n  ^\r\nInput.c:123:2: error: expected identifier before ‘struct’\r\n  $((View *) self, addSubview, (View *) self->control);\r\n  ^\r\nInput.c:125:2: error: expected identifier before ‘struct’\r\n  $(self, setOrientation, self->orientation);\r\n  ^\r\nInput.c: In function ‘setLabel’:\r\nInput.c:137:2: error: expected identifier before ‘struct’\r\n  $((View *) self, removeSubview, (View *) self->label);\r\n  ^\r\nInput.c:141:2: error: expected identifier before ‘struct’\r\n  $((View *) self, addSubview, (View *) self->label);\r\n  ^\r\nInput.c:143:2: error: expected identifier before ‘struct’\r\n  $(self, setOrientation, self->orientation);\r\n  ^\r\nInput.c: In function ‘setOrientation’:\r\nInput.c:155:2: error: expected identifier before ‘struct’\r\n  $((View *) self->control, removeFromSuperview);\r\n  ^\r\nInput.c:156:2: error: expected identifier before ‘struct’\r\n  $((View *) self->label, removeFromSuperview);\r\n  ^\r\nInput.c:161:4: error: expected identifier before ‘struct’\r\n    $((View *) self, addSubview, (View *) self->label);\r\n    ^\r\nInput.c:162:4: error: expected identifier before ‘struct’\r\n    $((View *) self, addSubview, (View *) self->control);\r\n    ^\r\nInput.c:167:4: error: expected identifier before ‘struct’\r\n    $((View *) self, addSubview, (View *) self->control);\r\n    ^\r\nInput.c:168:4: error: expected identifier before ‘struct’\r\n    $((View *) self, addSubview, (View *) self->label);\r\n    ^\r\nInput.c: In function ‘initialize’:\r\nInput.c:201:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\nInput.c:203:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->awakeWithDictionary = awakeWithDictionary;\r\n                            ^\r\nInput.c:204:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->init = init;\r\n                            ^\r\nInput.c:206:29: error: expected identifier before ‘struct’\r\n  ((InputInterface *) clazz->interface)->initWithFrame = initWithFrame;\r\n                             ^\r\nInput.c:207:29: error: expected identifier before ‘struct’\r\n  ((InputInterface *) clazz->interface)->setControl = setControl;\r\n                             ^\r\nInput.c:208:29: error: expected identifier before ‘struct’\r\n  ((InputInterface *) clazz->interface)->setLabel = setLabel;\r\n                             ^\r\nInput.c:209:29: error: expected identifier before ‘struct’\r\n  ((InputInterface *) clazz->interface)->setOrientation = setOrientation;\r\n                             ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_events.h:31,\r\n                 from ../../Sources/ObjectivelyMVC/Action.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:28,\r\n                 from ../../Sources/ObjectivelyMVC/Input.h:26,\r\n                 from Input.c:26:\r\nInput.c: At top level:\r\nInput.c:216:37: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(Input, interface),\r\n                                     ^\r\n../../Sources/ObjectivelyMVC/Font.h:79:17: error: expected identifier or ‘(’ before ‘struct’\r\n  FontInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Text.h:57:17: error: expected identifier or ‘(’ before ‘struct’\r\n  TextInterface *interface;\r\n                 ^\r\n../../Sources/ObjectivelyMVC/Control.h:112:20: error: expected identifier or ‘(’ before ‘struct’\r\n  ControlInterface *interface;\r\n                    ^\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/ImageView.h:27,\r\n                 from ImageView.c:26:\r\n/usr/include/Objectively/Array.h:75:18: error: expected identifier or ‘(’ before ‘struct’\r\n  ArrayInterface *interface;\r\n                  ^\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\nControl.c: In function ‘dealloc’:\r\nControl.c:65:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nControl.c: In function ‘awakeWithDictionary’:\r\nControl.c:75:2: error: expected identifier before ‘struct’\r\n  super(View, self, awakeWithDictionary, dictionary);\r\n  ^\r\nControl.c:84:2: error: expected identifier before ‘struct’\r\n  $(self, bind, dictionary, inlets);\r\n  ^\r\nControl.c: In function ‘init’:\r\nControl.c:91:18: error: expected identifier before ‘struct’\r\n  return (View *) $((Control *) self, initWithFrame, NULL, ControlStyleDefault);\r\n                  ^\r\nControl.c: In function ‘render’:\r\nControl.c:99:2: error: expected identifier before ‘struct’\r\n  super(View, self, render, renderer);\r\n  ^\r\nControl.c:103:25: error: expected identifier before ‘struct’\r\n  const SDL_Rect frame = $(self, renderFrame);\r\n                         ^\r\nControl.c:120:3: error: expected identifier before ‘struct’\r\n   $(renderer, drawLines, points, lengthof(points));\r\n   ^\r\nControl.c:133:3: error: expected identifier before ‘struct’\r\n   $(renderer, drawLines, points, lengthof(points));\r\n   ^\r\nControl.c:150:3: error: expected identifier before ‘struct’\r\n   $(renderer, drawLines, points, lengthof(points));\r\n   ^\r\nControl.c:163:3: error: expected identifier before ‘struct’\r\n   $(renderer, drawLines, points, lengthof(points));\r\n   ^\r\nControl.c:170:3: error: expected identifier before ‘struct’\r\n   $(renderer, drawRect, &frame);\r\n   ^\r\nControl.c: In function ‘respondToEvent’:\r\nControl.c:187:7: error: expected identifier before ‘struct’\r\n   if ($(this, captureEvent, event)) {\r\n       ^\r\nControl.c:190:21: error: expected identifier before ‘struct’\r\n    Action *action = $(this, actionForEvent, event);\r\n                     ^\r\nControl.c:198:3: error: expected identifier before ‘struct’\r\n   $(this, stateDidChange);\r\n   ^\r\nControl.c:201:2: error: expected identifier before ‘struct’\r\n  super(View, self, respondToEvent, event);\r\n  ^\r\nControl.c: In function ‘actionForEvent’:\r\nControl.c:216:31: error: expected identifier before ‘struct’\r\n   Action *action = (Action *) $(actions, objectAtIndex, i);\r\n                               ^\r\n/usr/include/Objectively/MutableArray.h:57:25: error: expected identifier or ‘(’ before ‘struct’\r\n  MutableArrayInterface *interface;\r\n                         ^\r\nControl.c: In function ‘addActionForEventType’:\r\nControl.c:232:19: error: expected identifier before ‘struct’\r\n  Action *action = alloc(Action, initWithEventType, eventType, function, sender, data);\r\n                   ^\r\nControl.c:234:2: error: expected identifier before ‘struct’\r\n  $(self->actions, addObject, action);\r\n  ^\r\nControl.c: In function ‘initWithFrame’:\r\nControl.c:282:21: error: expected identifier before ‘struct’\r\n  self = (Control *) super(View, self, initWithFrame, frame);\r\n                     ^\r\nControl.c:285:19: error: expected identifier before ‘struct’\r\n   self->actions = $$(MutableArray, array);\r\n                   ^\r\nControl.c: In function ‘stateDidChange’:\r\nControl.c:322:3: error: expected identifier before ‘struct’\r\n   $((View *) self, becomeFirstResponder);\r\n   ^\r\nControl.c:324:3: error: expected identifier before ‘struct’\r\n   $((View *) self, resignFirstResponder);\r\n   ^\r\nControl.c: In function ‘initialize’:\r\nControl.c:335:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\nControl.c:337:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->awakeWithDictionary = awakeWithDictionary;\r\n                            ^\r\n../../Sources/ObjectivelyMVC/Font.h:79:17: error: expected identifier or ‘(’ before ‘struct’\r\n  FontInterface *interface;\r\n                 ^\r\nControl.c:338:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->init = init;\r\n                            ^\r\nControl.c:339:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->render = render;\r\n                            ^\r\nControl.c:340:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->respondToEvent = respondToEvent;\r\n                            ^\r\nControl.c:342:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->actionForEvent = actionForEvent;\r\n                               ^\r\nControl.c:343:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->addActionForEventType = addActionForEventType;\r\n                               ^\r\nControl.c:344:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->captureEvent = captureEvent;\r\n                               ^\r\nControl.c:345:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->enabled = enabled;\r\n                               ^\r\nControl.c:346:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->focused = focused;\r\n                               ^\r\nControl.c:347:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->highlighted = highlighted;\r\n                               ^\r\nControl.c:348:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->initWithFrame = initWithFrame;\r\n                               ^\r\nControl.c:349:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->selected = selected;\r\n                               ^\r\nControl.c:350:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->stateDidChange = stateDidChange;\r\n                               ^\r\n../../Sources/ObjectivelyMVC/Text.h:57:17: error: expected identifier or ‘(’ before ‘struct’\r\n  TextInterface *interface;\r\n                 ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_events.h:31,\r\n                 from ../../Sources/ObjectivelyMVC/Action.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:28,\r\n                 from Control.c:26:\r\nControl.c: At top level:\r\nControl.c:357:39: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(Control, interface),\r\n                                       ^\r\n../../Sources/ObjectivelyMVC/Control.h:112:20: error: expected identifier or ‘(’ before ‘struct’\r\n  ControlInterface *interface;\r\n                    ^\r\n../../Sources/ObjectivelyMVC/Image.h:57:18: error: expected identifier or ‘(’ before ‘struct’\r\n  ImageInterface *interface;\r\n                  ^\r\n../../Sources/ObjectivelyMVC/ImageView.h:57:22: error: expected identifier or ‘(’ before ‘struct’\r\n  ImageViewInterface *interface;\r\n                      ^\r\n../../Sources/ObjectivelyMVC/CollectionItemView.h:60:31: error: expected identifier or ‘(’ before ‘struct’\r\n  CollectionItemViewInterface *interface;\r\n                               ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/ScrollView.h:73:23: error: expected identifier or ‘(’ before ‘struct’\r\n  ScrollViewInterface *interface;\r\n                       ^\r\n../../Sources/ObjectivelyMVC/CollectionView.h:127:27: error: expected identifier or ‘(’ before ‘struct’\r\n  CollectionViewInterface *interface;\r\n                           ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\nCollectionView.c: In function ‘dealloc’:\r\nCollectionView.c:48:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nCollectionView.c: In function ‘awakeWithDictionary’:\r\nCollectionView.c:58:2: error: expected identifier before ‘struct’\r\n  super(View, self, awakeWithDictionary, dictionary);\r\n  ^\r\nCollectionView.c:68:2: error: expected identifier before ‘struct’\r\n  $(self, bind, dictionary, inlets);\r\n  ^\r\n../../Sources/ObjectivelyMVC/ImageView.h:57:22: error: expected identifier or ‘(’ before ‘struct’\r\n  ImageViewInterface *interface;\r\n                      ^\r\nCollectionView.c: In function ‘init’:\r\nCollectionView.c:75:18: error: expected identifier before ‘struct’\r\n  return (View *) $((CollectionView *) self, initWithFrame, NULL, ControlStyleDefault);\r\n                  ^\r\nCollectionView.c: In function ‘layoutSubviews’:\r\nCollectionView.c:85:26: error: expected identifier before ‘struct’\r\n  const SDL_Rect bounds = $(self, bounds);\r\n                          ^\r\nCollectionView.c:92:53: error: expected identifier before ‘struct’\r\n   CollectionItemView *item = (CollectionItemView *) $(items, objectAtIndex, i);\r\n                                                     ^\r\nCollectionView.c:117:2: error: expected identifier before ‘struct’\r\n  super(View, self, layoutSubviews);\r\n  ^\r\nImageView.c: In function ‘dealloc’:\r\nCollectionView.c: In function ‘captureEvent’:\r\nCollectionView.c:131:7: error: expected identifier before ‘struct’\r\n   if ($((Control *) this->scrollView, highlighted) == false) {\r\n       ^\r\nCollectionView.c:132:8: error: expected identifier before ‘struct’\r\n    if ($((View *) this->contentView, didReceiveEvent, event)) {\r\n        ^\r\nCollectionView.c:139:28: error: expected identifier before ‘struct’\r\n     IndexPath *indexPath = $(this, indexPathForItemAtPoint, &point);\r\n                            ^\r\nImageView.c:59:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nCollectionView.c:141:38: error: expected identifier before ‘struct’\r\n     const CollectionItemView *item = $(this, itemAtIndexPath, indexPath);\r\n                                      ^\r\nCollectionView.c:149:9: error: expected identifier before ‘struct’\r\n         $(this, deselectAll);\r\n         ^\r\nImageView.c: In function ‘awakeWithDictionary’:\r\nCollectionView.c:150:9: error: expected identifier before ‘struct’\r\n         $(this, selectItemAtIndexPath, indexPath);\r\n         ^\r\nImageView.c:69:2: error: expected identifier before ‘struct’\r\n  super(View, self, awakeWithDictionary, dictionary);\r\n  ^\r\nCollectionView.c:156:10: error: expected identifier before ‘struct’\r\n          $(this, deselectItemAtIndexPath, indexPath);\r\n          ^\r\nCollectionView.c:158:10: error: expected identifier before ‘struct’\r\n          $(this, selectItemAtIndexPath, indexPath);\r\n          ^\r\nCollectionView.c:161:9: error: expected identifier before ‘struct’\r\n         $(this, deselectAll);\r\n         ^\r\nCollectionView.c:162:9: error: expected identifier before ‘struct’\r\n         $(this, selectItemAtIndexPath, indexPath);\r\n         ^\r\nImageView.c:80:2: error: expected identifier before ‘struct’\r\n  $(self, bind, dictionary, inlets);\r\n  ^\r\nImageView.c: In function ‘init’:\r\nImageView.c:87:18: error: expected identifier before ‘struct’\r\n  return (View *) $((ImageView *) self, initWithImage, NULL);\r\n                  ^\r\nCollectionView.c:168:36: error: expected identifier before ‘struct’\r\n       Array *selectionIndexPaths = $(this, selectionIndexPaths);\r\n                                    ^\r\nImageView.c: In function ‘render’:\r\nImageView.c:95:2: error: expected identifier before ‘struct’\r\n  super(View, self, render, renderer);\r\n  ^\r\nCollectionView.c:182:9: error: expected identifier before ‘struct’\r\n  return super(Control, self, captureEvent, event);\r\n         ^\r\nImageView.c:101:20: error: expected identifier before ‘struct’\r\n    this->texture = $(renderer, createTexture, this->image->surface);\r\n                    ^\r\nCollectionView.c: In function ‘deselectAll_enumerate’:\r\nCollectionView.c:191:2: error: expected identifier before ‘struct’\r\n  $((CollectionItemView *) obj, setSelected, false); return false;\r\n  ^\r\nCollectionView.c: In function ‘deselectAll’:\r\nCollectionView.c:200:2: error: expected identifier before ‘struct’\r\n  $((Array *) self->items, enumerateObjects, deselectAll_enumerate, NULL);\r\n  ^\r\nCollectionView.c: In function ‘deselectItemAtIndexPath’:\r\nImageView.c:108:26: error: expected identifier before ‘struct’\r\n   const SDL_Rect frame = $(self, renderFrame);\r\n                          ^\r\nCollectionView.c:211:30: error: expected identifier before ‘struct’\r\n   CollectionItemView *item = $(self, itemAtIndexPath, indexPath);\r\n                              ^\r\nImageView.c:109:3: error: expected identifier before ‘struct’\r\n   $(renderer, drawTexture, this->texture, &frame);\r\n   ^\r\nCollectionView.c:213:4: error: expected identifier before ‘struct’\r\n    $(item, setSelected, false);\r\n    ^\r\nCollectionView.c: In function ‘deselectItemsAtIndexPaths_enumerate’:\r\nImageView.c: In function ‘renderDeviceDidReset’:\r\nCollectionView.c:222:2: error: expected identifier before ‘struct’\r\n  $((CollectionItemView *) obj, setSelected, false); return false;\r\n  ^\r\nImageView.c:119:2: error: expected identifier before ‘struct’\r\n  super(View, self, renderDeviceDidReset);\r\n  ^\r\nCollectionView.c: In function ‘deselectItemsAtIndexPaths’:\r\nCollectionView.c:233:3: error: expected identifier before ‘struct’\r\n   $(indexPaths, enumerateObjects, deselectItemsAtIndexPaths_enumerate, self);\r\n   ^\r\nImageView.c: In function ‘initWithFrame’:\r\nImageView.c:135:23: error: expected identifier before ‘struct’\r\n  self = (ImageView *) super(View, self, initWithFrame, frame);\r\n                       ^\r\nCollectionView.c: In function ‘indexPathForItemAtPoint’:\r\nCollectionView.c:246:26: error: expected identifier before ‘struct’\r\n   const SDL_Rect frame = $(self->contentView, renderFrame);\r\n                          ^\r\nImageView.c: In function ‘initWithImage’:\r\nCollectionView.c:271:11: error: expected identifier before ‘struct’\r\n    return alloc(IndexPath, initWithIndex, index);\r\n           ^\r\nImageView.c:155:23: error: expected identifier before ‘struct’\r\n  self = (ImageView *) $(self, initWithFrame, NULL);\r\n                       ^\r\nImageView.c:158:3: error: expected identifier before ‘struct’\r\n   $(self, setImage, image);\r\n   ^\r\nCollectionView.c: In function ‘indexPathForItem’:\r\nCollectionView.c:285:20: error: expected identifier before ‘struct’\r\n  const int index = $((Array *) self->items, indexOfObject, (ident) item);\r\n                    ^\r\nCollectionView.c:287:10: error: expected identifier before ‘struct’\r\n   return alloc(IndexPath, initWithIndex, index);\r\n          ^\r\nImageView.c: In function ‘setImageWithSurface’:\r\nImageView.c:194:2: error: expected identifier before ‘struct’\r\n  $(self, setImage, NULL);\r\n  ^\r\nCollectionView.c: In function ‘initWithFrame’:\r\nCollectionView.c:300:28: error: expected identifier before ‘struct’\r\n  self = (CollectionView *) super(Control, self, initWithFrame, frame, style);\r\n                            ^\r\nImageView.c:197:18: error: expected identifier before ‘struct’\r\n   Image *image = alloc(Image, initWithSurface, surface);\r\n                  ^\r\nCollectionView.c:303:17: error: expected identifier before ‘struct’\r\n   self->items = $$(MutableArray, array);\r\n                 ^\r\nImageView.c:200:3: error: expected identifier before ‘struct’\r\n   $(self, setImage, image);\r\n   ^\r\nCollectionView.c:305:23: error: expected identifier before ‘struct’\r\n   self->contentView = alloc(View, initWithFrame, NULL);\r\n                       ^\r\nImageView.c: In function ‘initialize’:\r\nImageView.c:213:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\nImageView.c:215:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->awakeWithDictionary = awakeWithDictionary;\r\n                            ^\r\nImageView.c:216:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->init = init;\r\n                            ^\r\nImageView.c:217:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->render = render;\r\n                            ^\r\nCollectionView.c:310:22: error: expected identifier before ‘struct’\r\n   self->scrollView = alloc(ScrollView, initWithFrame, NULL, style);\r\n                      ^\r\nImageView.c:218:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->renderDeviceDidReset = renderDeviceDidReset;\r\n                            ^\r\nImageView.c:220:33: error: expected identifier before ‘struct’\r\n  ((ImageViewInterface *) clazz->interface)->initWithFrame = initWithFrame;\r\n                                 ^\r\nImageView.c:221:33: error: expected identifier before ‘struct’\r\n  ((ImageViewInterface *) clazz->interface)->initWithImage = initWithImage;\r\n                                 ^\r\nImageView.c:222:33: error: expected identifier before ‘struct’\r\n  ((ImageViewInterface *) clazz->interface)->setImage = setImage;\r\n                                 ^\r\nCollectionView.c:315:3: error: expected identifier before ‘struct’\r\n   $(self->scrollView, setContentView, self->contentView);\r\n   ^\r\nImageView.c:223:33: error: expected identifier before ‘struct’\r\n  ((ImageViewInterface *) clazz->interface)->setImageWithSurface = setImageWithSurface;\r\n                                 ^\r\nCollectionView.c:317:3: error: expected identifier before ‘struct’\r\n   $((View *) self, addSubview, (View *) self->scrollView);\r\n   ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_video.h:31,\r\n                 from ../../Sources/ObjectivelyMVC/Image.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/ImageView.h:26,\r\n                 from ImageView.c:26:\r\nImageView.c: At top level:\r\nImageView.c:230:41: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(ImageView, interface),\r\n                                         ^\r\nCollectionView.c: In function ‘itemAtIndexPath’:\r\nCollectionView.c:354:21: error: expected identifier before ‘struct’\r\n   const int index = $(indexPath, indexAtPosition, 0);\r\n                     ^\r\nCollectionView.c:357:11: error: expected identifier before ‘struct’\r\n    return $(items, objectAtIndex, index);\r\n           ^\r\nCollectionView.c: In function ‘reloadData_removeItems’:\r\nCollectionView.c:368:2: error: expected identifier before ‘struct’\r\n  $((View *) data, removeSubview, (View *) obj); return false;\r\n  ^\r\nCollectionView.c: In function ‘reloadData’:\r\nCollectionView.c:381:2: error: expected identifier before ‘struct’\r\n  $((Array *) self->items, enumerateObjects, reloadData_removeItems, self->contentView);\r\n  ^\r\nCollectionView.c:382:2: error: expected identifier before ‘struct’\r\n  $(self->items, removeAllObjects);\r\n  ^\r\nCollectionView.c:387:26: error: expected identifier before ‘struct’\r\n   IndexPath *indexPath = alloc(IndexPath, initWithIndex, i);\r\n                          ^\r\nCollectionView.c:392:3: error: expected identifier before ‘struct’\r\n   $(self->items, addObject, item);\r\n   ^\r\nCollectionView.c:393:3: error: expected identifier before ‘struct’\r\n   $(self->contentView, addSubview, (View *) item);\r\n   ^\r\nCollectionView.c: In function ‘selectAll_enumerate’:\r\nCollectionView.c:406:2: error: expected identifier before ‘struct’\r\n  $((CollectionItemView *) obj, setSelected, true); return false;\r\n  ^\r\nCollectionView.c: In function ‘selectAll’:\r\nCollectionView.c:415:2: error: expected identifier before ‘struct’\r\n  $((Array *) self->items, enumerateObjects, selectAll_enumerate, NULL);\r\n  ^\r\nCollectionView.c: In function ‘selectionIndexPaths’:\r\nCollectionView.c:425:24: error: expected identifier before ‘struct’\r\n  MutableArray *array = $$(MutableArray, array);\r\n                        ^\r\n../../Sources/ObjectivelyMVC/Font.h:79:17: error: expected identifier or ‘(’ before ‘struct’\r\n  FontInterface *interface;\r\n                 ^\r\nCollectionView.c:430:36: error: expected identifier before ‘struct’\r\n   const CollectionItemView *item = $(items, objectAtIndex, i);\r\n                                    ^\r\nCollectionView.c:433:27: error: expected identifier before ‘struct’\r\n    IndexPath *indexPath = $(self, indexPathForItem, item);\r\n                           ^\r\nCollectionView.c:434:4: error: expected identifier before ‘struct’\r\n    $(array, addObject, indexPath);\r\n    ^\r\nCollectionView.c: In function ‘selectItemAtIndexPath’:\r\nCollectionView.c:451:30: error: expected identifier before ‘struct’\r\n   CollectionItemView *item = $(self, itemAtIndexPath, indexPath);\r\n                              ^\r\nCollectionView.c:453:4: error: expected identifier before ‘struct’\r\n    $(item, setSelected, true);\r\n    ^\r\nCollectionView.c: In function ‘selectItemsAtIndexPaths_enumerate’:\r\nCollectionView.c:462:2: error: expected identifier before ‘struct’\r\n  $((CollectionView *) data, selectItemAtIndexPath, (IndexPath *) obj); return false;\r\n  ^\r\nCollectionView.c: In function ‘selectItemsAtIndexPaths’:\r\nCollectionView.c:473:3: error: expected identifier before ‘struct’\r\n   $(indexPaths, enumerateObjects, selectItemsAtIndexPaths_enumerate, self);\r\n   ^\r\nCollectionView.c: In function ‘initialize’:\r\nCollectionView.c:484:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\n../../Sources/ObjectivelyMVC/Text.h:57:17: error: expected identifier or ‘(’ before ‘struct’\r\n  TextInterface *interface;\r\n                 ^\r\nCollectionView.c:486:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->awakeWithDictionary = awakeWithDictionary;\r\n                            ^\r\nCollectionView.c:487:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->init = init;\r\n                            ^\r\nCollectionView.c:488:28: error: expected identifier before ‘struct’\r\n  ((ViewInterface *) clazz->interface)->layoutSubviews = layoutSubviews;\r\n                            ^\r\nCollectionView.c:490:31: error: expected identifier before ‘struct’\r\n  ((ControlInterface *) clazz->interface)->captureEvent = captureEvent;\r\n                               ^\r\nCollectionView.c:492:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->deselectAll = deselectAll;\r\n                                      ^\r\nCollectionView.c:493:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->deselectItemAtIndexPath = deselectItemAtIndexPath;\r\n                                      ^\r\nCollectionView.c:494:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->deselectItemsAtIndexPaths = deselectItemsAtIndexPaths;\r\n                                      ^\r\nCollectionView.c:495:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->indexPathForItem = indexPathForItem;\r\n                                      ^\r\nCollectionView.c:496:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->indexPathForItemAtPoint = indexPathForItemAtPoint;\r\n                                      ^\r\nCollectionView.c:497:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->initWithFrame = initWithFrame;\r\n                                      ^\r\nCollectionView.c:498:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->itemAtIndexPath = itemAtIndexPath;\r\n                                      ^\r\nCollectionView.c:499:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->reloadData = reloadData;\r\n                                      ^\r\nCollectionView.c:500:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->selectAll = selectAll;\r\n                                      ^\r\nCollectionView.c:501:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->selectionIndexPaths = selectionIndexPaths;\r\n                                      ^\r\nCollectionView.c:502:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->selectItemAtIndexPath = selectItemAtIndexPath;\r\n                                      ^\r\nCollectionView.c:503:38: error: expected identifier before ‘struct’\r\n  ((CollectionViewInterface *) clazz->interface)->selectItemsAtIndexPaths = selectItemsAtIndexPaths;\r\n                                      ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_events.h:31,\r\n                 from ../../Sources/ObjectivelyMVC/Action.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/Control.h:28,\r\n                 from ../../Sources/ObjectivelyMVC/CollectionView.h:28,\r\n                 from CollectionView.c:26:\r\nCollectionView.c: At top level:\r\nCollectionView.c:510:46: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(CollectionView, interface),\r\n                                              ^\r\n../../Sources/ObjectivelyMVC/CollectionItemView.h:60:31: error: expected identifier or ‘(’ before ‘struct’\r\n  CollectionItemViewInterface *interface;\r\n                               ^\r\nCollectionItemView.c: In function ‘dealloc’:\r\nCollectionItemView.c:42:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nCollectionItemView.c: In function ‘initWithFrame’:\r\nCollectionItemView.c:54:32: error: expected identifier before ‘struct’\r\n  self = (CollectionItemView *) super(View, self, initWithFrame, frame);\r\n                                ^\r\nCollectionItemView.c:56:21: error: expected identifier before ‘struct’\r\n   self->imageView = alloc(ImageView, initWithFrame, frame);\r\n                     ^\r\nCollectionItemView.c:61:3: error: expected identifier before ‘struct’\r\n   $((View *) self, addSubview, (View *) self->imageView);\r\n   ^\r\nCollectionItemView.c:63:16: error: expected identifier before ‘struct’\r\n   self->text = alloc(Text, initWithText, NULL, NULL);\r\n                ^\r\nCollectionItemView.c:69:3: error: expected identifier before ‘struct’\r\n   $((View *) self, addSubview, (View *) self->text);\r\n   ^\r\nCollectionItemView.c: In function ‘initialize’:\r\nCollectionItemView.c:104:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\nCollectionItemView.c:106:42: error: expected identifier before ‘struct’\r\n  ((CollectionItemViewInterface *) clazz->interface)->initWithFrame = initWithFrame;\r\n                                          ^\r\nCollectionItemView.c:107:42: error: expected identifier before ‘struct’\r\n  ((CollectionItemViewInterface *) clazz->interface)->setSelected = setSelected;\r\n                                          ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_video.h:31,\r\n                 from ../../Sources/ObjectivelyMVC/Image.h:27,\r\n                 from ../../Sources/ObjectivelyMVC/ImageView.h:26,\r\n                 from ../../Sources/ObjectivelyMVC/CollectionItemView.h:26,\r\n                 from CollectionItemView.c:26:\r\nCollectionItemView.c: At top level:\r\nCollectionItemView.c:114:50: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(CollectionItemView, interface),\r\n                                                  ^\r\nmake[3]: *** [Makefile:590: libObjectivelyMVC_la-Button.lo] Error 1\r\nmake[3]: *** Waiting for unfinished jobs....\r\nmake[3]: *** [Makefile:597: libObjectivelyMVC_la-Checkbox.lo] Error 1\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from Font.c:34:\r\n/usr/include/Objectively/Dictionary.h:71:23: error: expected identifier or ‘(’ before ‘struct’\r\n  DictionaryInterface *interface;\r\n                       ^\r\n../../Sources/ObjectivelyMVC/Renderer.h:61:21: error: expected identifier or ‘(’ before ‘struct’\r\n  RendererInterface *interface;\r\n                     ^\r\n../../Sources/ObjectivelyMVC/View.h:254:17: error: expected identifier or ‘(’ before ‘struct’\r\n  ViewInterface *interface;\r\n                 ^\r\nFont.c: In function ‘dealloc’:\r\nFont.c:53:2: error: expected identifier before ‘struct’\r\n  super(Object, self, dealloc);\r\n  ^\r\nFont.c: In function ‘allFonts’:\r\nFont.c:72:24: error: expected identifier before ‘struct’\r\n  MutableArray *fonts = $$(MutableArray, array);\r\n                        ^\r\nFont.c:86:20: error: expected identifier before ‘struct’\r\n   String *string = $$(String, stringWithMemory, name, strlen(name));\r\n                    ^\r\nFont.c:88:3: error: expected identifier before ‘struct’\r\n   $(fonts, addObject, string);\r\n   ^\r\nFont.c:96:2: error: expected identifier before ‘struct’\r\n  $(fonts, sort, allFonts_sort);\r\n  ^\r\nIn file included from Font.c:29:0:\r\nFont.c: In function ‘defaultFont’:\r\nFont.c:114:13: error: expected identifier before ‘struct’\r\n   _normal = alloc(Font, initWithAttributes, DEFAULT_FONT_FAMILY, 14, 0);\r\n             ^\r\nFont.c:117:14: error: expected identifier before ‘struct’\r\n   _smaller = alloc(Font, initWithAttributes, DEFAULT_FONT_FAMILY, 12, 0);\r\n              ^\r\nFont.c:120:13: error: expected identifier before ‘struct’\r\n   _bigger = alloc(Font, initWithAttributes, DEFAULT_FONT_FAMILY, 16, 0);\r\n             ^\r\nIn file included from /usr/include/w32api/oleidl.h:7:0,\r\n                 from /usr/include/w32api/ole2.h:38,\r\n                 from /usr/include/w32api/wtypes.h:12,\r\n                 from /usr/include/w32api/winscard.h:10,\r\n                 from /usr/include/w32api/windows.h:97,\r\n                 from /usr/include/w32api/GL/gl.h:13,\r\n                 from /usr/include/SDL2/SDL_opengl.h:54,\r\n                 from ../../Sources/ObjectivelyMVC/View.h:27,\r\n                 from Font.c:34:\r\nFont.c: In function ‘initWithAttributes’:\r\nFont.c:164:9: error: expected identifier before ‘struct’\r\n  self = $(self, initWithPattern, pattern);\r\n         ^\r\nFont.c: In function ‘initWithName’:\r\nFont.c:181:10: error: expected identifier before ‘struct’\r\n   self = $(self, initWithPattern, pattern);\r\n          ^\r\nFont.c: In function ‘initWithPattern’:\r\nFont.c:196:18: error: expected identifier before ‘struct’\r\n  self = (Font *) super(Object, self, init);\r\n                  ^\r\nFont.c: In function ‘initialize’:\r\nFont.c:282:30: error: expected identifier before ‘struct’\r\n  ((ObjectInterface *) clazz->interface)->dealloc = dealloc;\r\n                              ^\r\nFont.c:284:28: error: expected identifier before ‘struct’\r\n  ((FontInterface *) clazz->interface)->allFonts = allFonts;\r\n                            ^\r\nFont.c:285:28: error: expected identifier before ‘struct’\r\n  ((FontInterface *) clazz->interface)->defaultFont = defaultFont;\r\n                            ^\r\nFont.c:286:28: error: expected identifier before ‘struct’\r\n  ((FontInterface *) clazz->interface)->initWithAttributes = initWithAttributes;\r\n                            ^\r\nFont.c:287:28: error: expected identifier before ‘struct’\r\n  ((FontInterface *) clazz->interface)->initWithName = initWithName;\r\n                            ^\r\nFont.c:288:28: error: expected identifier before ‘struct’\r\n  ((FontInterface *) clazz->interface)->initWithPattern = initWithPattern;\r\n                            ^\r\nFont.c:289:28: error: expected identifier before ‘struct’\r\n  ((FontInterface *) clazz->interface)->renderCharacters = renderCharacters;\r\n                            ^\r\nFont.c:290:28: error: expected identifier before ‘struct’\r\n  ((FontInterface *) clazz->interface)->sizeCharacters = sizeCharacters;\r\n                            ^\r\nIn file included from /usr/include/inttypes.h:21:0,\r\n                 from /usr/include/SDL2/SDL_stdinc.h:66,\r\n                 from /usr/include/SDL2/SDL_main.h:25,\r\n                 from /usr/include/SDL2/SDL.h:67,\r\n                 from /usr/include/SDL2/SDL_ttf.h:30,\r\n                 from ../../Sources/ObjectivelyMVC/Font.h:26,\r\n                 from Font.c:32:\r\nFont.c: At top level:\r\nFont.c:316:36: error: expected identifier before ‘struct’\r\n  .interfaceOffset = offsetof(Font, interface),\r\n                                    ^\r\nmake[3]: *** [Makefile:625: libObjectivelyMVC_la-Control.lo] Error 1\r\nmake[3]: *** [Makefile:646: libObjectivelyMVC_la-ImageView.lo] Error 1\r\nmake[3]: *** [Makefile:604: libObjectivelyMVC_la-CollectionItemView.lo] Error 1\r\nmake[3]: *** [Makefile:611: libObjectivelyMVC_la-CollectionView.lo] Error 1\r\nmake[3]: *** [Makefile:632: libObjectivelyMVC_la-Font.lo] Error 1\r\nmake[3]: *** [Makefile:653: libObjectivelyMVC_la-Input.lo] Error 1\r\nmake[3]: Leaving directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc/Sources/ObjectivelyMVC'\r\nmake[2]: *** [Makefile:438: all-recursive] Error 1\r\nmake[2]: Leaving directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc/Sources'\r\nmake[1]: *** [Makefile:403: all-recursive] Error 1\r\nmake[1]: Leaving directory '/cygdrive/c/Users/cbas/Desktop/objectivelymvc'\r\nmake: *** [Makefile:334: all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/jdolan/ObjectivelyMVC/issues/comments/249207171","html_url":"https://github.com/jdolan/ObjectivelyMVC/issues/5#issuecomment-249207171","issue_url":"https://api.github.com/repos/jdolan/ObjectivelyMVC/issues/5","id":249207171,"user":{"login":"jdolan","id":643118,"avatar_url":"https://avatars.githubusercontent.com/u/643118?v=3","gravatar_id":"","url":"https://api.github.com/users/jdolan","html_url":"https://github.com/jdolan","followers_url":"https://api.github.com/users/jdolan/followers","following_url":"https://api.github.com/users/jdolan/following{/other_user}","gists_url":"https://api.github.com/users/jdolan/gists{/gist_id}","starred_url":"https://api.github.com/users/jdolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdolan/subscriptions","organizations_url":"https://api.github.com/users/jdolan/orgs","repos_url":"https://api.github.com/users/jdolan/repos","events_url":"https://api.github.com/users/jdolan/events{/privacy}","received_events_url":"https://api.github.com/users/jdolan/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T14:25:37Z","updated_at":"2016-09-23T14:25:37Z","body":"That's kind of expected right now. MinGW doesn't provide `strptime`:\r\nhttps://github.com/jdolan/Objectively/blob/master/Sources/Objectively/DateFormatter.c#L41"}}
{"actor":{"display_login":"jdolan"}}