title: Too many arguments to function call, expected 0, have 2
body: <p>Last year we moved from Pixate to StylingKit</p>
  <p><a href="https://github.com/StylingKit/StylingKit" rel="nofollow noreferrer">https://github.com/StylingKit/StylingKit</a> a fork of Pixate which is still being developed as far as I can tell.</p>
  <p>However we are having problems with it now with the release of XCode 11, in pior versions it worked just fine but now it won't compile.</p>
  <pre><code>    void* callSuper0(id self, Class superClass, SEL _cmd)
      {
          struct objc_super super;
          super.receiver = (__bridge void *)self;
          super.class = superClass != NULL ? superClass : class_getSuperclass(object_getClass(self));
          return objc_msgSendSuper(&amp;super, preprocessSEL(_cmd));
      }
  
  </code></pre>
  <pre><code>return objc_msgSendSuper(&amp;super, preprocessSEL(_cmd));
  </code></pre>
  <p>Throws error &quot;Too many arguments to function call, expected 0, have 2&quot;</p>
  <p>I tried changing some Building Settings as seen in <a href="https://stackoverflow.com/questions/24922913/too-many-arguments-to-function-call-expected-0-have-3">Too many arguments to function call, expected 0, have 3</a> specifically &quot;Enable strict checking of objc_msgSend Calls to NO&quot; but it didn't help.</p>
  <p>Any help would be appreciated.</p>