Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent instance variable specification in KWExampleGroup.m #58

Closed
joshuatbrown opened this issue Sep 22, 2011 · 1 comment
Closed

Comments

@joshuatbrown
Copy link
Contributor

I just added Kiwi to a project, created a sample spec, and tried to run the tests. The build failed with the following error:

"Inconsistent instance variable specification"

The problem is happening in this code:

@implementation KWExampleGroup { NSArray *contextNodeStack; id<KWExampleNode> exampleNode; BOOL passed; }

What can I do to resolve this? I'm using Xcode 4.1 with iOS SDK 4.3 and the LLVM GCC 4.2 compiler.

@lukeredpath
Copy link
Contributor

Hi Josh

You need to switch to the LLVM compiler; GCC doesn't support @implementation variables.

Sent from my iPhone

On 22 Sep 2011, at 12:55, Josh Brownreply@reply.github.com wrote:

I just added Kiwi to a project, created a sample spec, and tried to run the tests. The build failed with the following error:

"Inconsistent instance variable specification"

The problem is happening in this code:

@implementation KWExampleGroup { NSArray *contextNodeStack; id<KWExampleNode> exampleNode; BOOL passed; }

What can I do to resolve this? I'm using Xcode 4.1 with iOS SDK 4.3 and the LLVM GCC 4.2 compiler.

Reply to this email directly or view it on GitHub:
https://github.com/allending/Kiwi/issues/58

allending pushed a commit that referenced this issue Sep 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants