Skip to content

Instantly share code, notes, and snippets.

@tilllt
Created April 20, 2017 18:24
Show Gist options
  • Save tilllt/b0e5f564f37262142aaade22060b1b6e to your computer and use it in GitHub Desktop.
Save tilllt/b0e5f564f37262142aaade22060b1b6e to your computer and use it in GitHub Desktop.
Scanning dependencies of target keepassx-autotype-cocoa
[ 92%] Building CXX object src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/AutoTypeMac.cpp.o
/Users/till_old/build/keepassxc/src/autotype/mac/AutoTypeMac.cpp:406:18: error:
cannot initialize a variable of type 'CGEventFlags' with an rvalue of type
'int'
CGEventFlags nativeModifiers = 0;
^ ~
/Users/till_old/build/keepassxc/src/autotype/mac/AutoTypeMac.cpp:408:18: error:
cannot initialize a variable of type 'CGEventFlags' with an rvalue of type
'(anonymous enum at
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:120:1)'
CGEventFlags shiftMod = shiftKey;
^ ~~~~~~~~
/Users/till_old/build/keepassxc/src/autotype/mac/AutoTypeMac.cpp:409:18: error:
cannot initialize a variable of type 'CGEventFlags' with an rvalue of type
'(anonymous enum at
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:120:1)'
CGEventFlags cmdMod = cmdKey;
^ ~~~~~~
/Users/till_old/build/keepassxc/src/autotype/mac/AutoTypeMac.cpp:410:18: error:
cannot initialize a variable of type 'CGEventFlags' with an rvalue of type
'(anonymous enum at
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:120:1)'
CGEventFlags optionMod = optionKey;
^ ~~~~~~~~~
/Users/till_old/build/keepassxc/src/autotype/mac/AutoTypeMac.cpp:411:18: error:
cannot initialize a variable of type 'CGEventFlags' with an rvalue of type
'(anonymous enum at
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:120:1)'
CGEventFlags controlMod = controlKey;
^ ~~~~~~~~~~
5 errors generated.
make[2]: *** [src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/AutoTypeMac.cpp.o] Error 1
make[1]: *** [src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment