Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Conversation

@nbeadman
Copy link

@nbeadman nbeadman commented Jul 22, 2015

Fixed compiler "error: multiple methods named 'keyCode' found with mismatched result, parameter type or attributes" when using WebKit in precompiled header

The possible methods named 'keyCode' are:
NSEvent: -(unsigned short) keyCode
DDHotKey: @Property (nonatomic, setter = _setKeyCode:) unsigned short keyCode
DOMUIEvent : @Property(readonly) int keyCode

DOMUIEvent is int whereas DDHotKey and NSEvent is unsigned short

…smatched result, parameter type or attributes" when using WebKit in precomiled header

The possible methods named 'keyCode' are:
	NSEvent: -(unsigned short) keyCode
	DDHotKey: @Property (nonatomic, setter = _setKeyCode:) unsigned short keyCode
	DOMUIEvent : @Property(readonly) int keyCode

DOMUIEvent is int whereas DDHotKey and NSEvent is unsigned short
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant