Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy #import NSURL.h OR UIKit/UIKit.h will cause 999+ errors
    primarykey
    data
    text
    <p>I need to mix cpp and objective-c in one header file and mm file, (CFacebookInterface.h,CFacebookInterface.mm)</p> <p>but if I add a BOOL OR NSURL in header file. I get a error " BOOL" does not name a type AND "NSURL" does not name a type</p> <p>IF I #import Foundation/NSURL.h in this header then "GET 375 ERROR "</p> <p>IF I #import Foundation/Foundation.h then "COMPILING WILL GET 999+ ERROR "</p> <p>and all the errors are occured in ios`s framework class like NSZone.h,NSObject.h etc..</p> <p>Anybody can help ...thanks very much....</p> <pre><code>//#import &lt;Foundation/Foundation.h&gt; //GET 999+ ERROR //#import &lt;Foundation/NSURL.h&gt; //GET 375 ERROR #import &lt;SocialInterface.h&gt; class CFacebookInterface : public SocialInterface { public: CFacebookInterface(); virtual ~CFacebookInterface(); public: virtual void setAppID(CStrWChar key); virtual const char* getAttributeName(); virtual const char* getUserAliasAttributeName(); virtual void login(); virtual void finishLogin(); virtual void logout(); virtual void finishLogout(); virtual void loadFriends(); virtual void finishLoadFriends(); virtual int32 getConnectionState(); virtual CStrWChar getPlayerID(); virtual CStrWChar getPlayerAlias(); virtual int32 getFriendsCount(); virtual CStrWChar getFriendIDAtIndex( int index ); virtual void postMessage(); virtual void postMessage(const CStrWChar &amp; msg); virtual void FinishPostMsg(boolean suc); virtual void resume(); BOOL handleOpenURL(NSURL* url); }; #endif //__FACEBOOKINTERFACE__ </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload