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

Instance variable '_oldState' is already declared for class TNVNCView in superclass TNRemoteScreenView #1171

Open
YATV opened this issue Nov 28, 2015 · 1 comment

Comments

@YATV
Copy link

YATV commented Nov 28, 2015

  • GrowlCappuccino build
  • Building VNCCappuccino
    (in /usr/Archipel/ArchipelClient/Libraries/VNCCappuccino)
    (in /usr/Archipel/ArchipelClient/Libraries/VNCCappuccino)
  • (void)acceptsFirstResponder
    ^
    WARNING line 80 in file:/usr/Archipel/ArchipelClient/Libraries/VNCCappuccino/TNRemoteScreenView.j: Conflicting return type in implementation of 'acceptsFirstResponder': 'BOOL' vs 'void'
  • (void)resignFirstResponder
    ^
    WARNING line 84 in file:/usr/Archipel/ArchipelClient/Libraries/VNCCappuccino/TNRemoteScreenView.j: Conflicting return type in implementation of 'resignFirstResponder': 'BOOL' vs 'void'
    SyntaxError:
    CPString _oldState @accessors(property=oldState);
    ^
    ERROR line 28 in file:/usr/Archipel/ArchipelClient/Libraries/VNCCappuccino/TNVNCView.j: Instance variable '_oldState' is already declared for class TNVNCView in superclass TNRemoteScreenView
    Unable to build Cappuccino
@YATV YATV changed the title Conflicting return type in implementation of 'resignFirstResponder': 'BOOL' vs 'void' Instance variable '_oldState' is already declared for class TNVNCView in superclass TNRemoteScreenView Nov 28, 2015
@Alecyrus
Copy link

Alecyrus commented Dec 2, 2015

I have it too, and my workaround is to document the variable's declaration in the file(/ArchipelClient/Libraries/VNCCappuccino/TNVNCView.j). It maybe a bug.
And I ignore All the Warnings.

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