{"action":"created","issue":{"url":"https://api.github.com/repos/whoozle/android-file-transfer-linux/issues/109","labels_url":"https://api.github.com/repos/whoozle/android-file-transfer-linux/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/whoozle/android-file-transfer-linux/issues/109/comments","events_url":"https://api.github.com/repos/whoozle/android-file-transfer-linux/issues/109/events","html_url":"https://github.com/whoozle/android-file-transfer-linux/issues/109","id":121843903,"number":109,"title":"OSX make- error: value of type 'mtp::usb::RequestType' is not implicitly convertible to 'u8' (aka 'unsigned char')","user":{"login":"sleepingscorpion","id":4104342,"avatar_url":"https://avatars.githubusercontent.com/u/4104342?v=3","gravatar_id":"","url":"https://api.github.com/users/sleepingscorpion","html_url":"https://github.com/sleepingscorpion","followers_url":"https://api.github.com/users/sleepingscorpion/followers","following_url":"https://api.github.com/users/sleepingscorpion/following{/other_user}","gists_url":"https://api.github.com/users/sleepingscorpion/gists{/gist_id}","starred_url":"https://api.github.com/users/sleepingscorpion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleepingscorpion/subscriptions","organizations_url":"https://api.github.com/users/sleepingscorpion/orgs","repos_url":"https://api.github.com/users/sleepingscorpion/repos","events_url":"https://api.github.com/users/sleepingscorpion/events{/privacy}","received_events_url":"https://api.github.com/users/sleepingscorpion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-12T09:20:08Z","updated_at":"2015-12-12T10:23:40Z","closed_at":null,"body":"HI,\r\n\r\nGetting the following after initiating make on OSX 10.11.1, please let me know what other info you need, environment vars etc.\r\n\r\nCloned from git, installed QT4 via brew, did cmake .. ---> make\r\n\r\nThanks\r\n\r\n$ cmake ..\r\n-- The C compiler identification is AppleClang 7.0.2.7000181\r\n-- The CXX compiler identification is AppleClang 7.0.2.7000181\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- building for Darwin\r\n-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) \r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - found\r\n-- Found Threads: TRUE  \r\n-- Looking for include file magic.h\r\n-- Looking for include file magic.h - not found\r\n-- Looking for magic_open in magic\r\n-- Looking for magic_open in magic - not found\r\n-- Found Readline: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include  \r\n-- Using Qt4\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/build\r\nIAs-MBP-2:build ia$ make\r\nScanning dependencies of target mtp-ng-static\r\n[  1%] Building CXX object CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o\r\n[  3%] Building CXX object CMakeFiles/mtp-ng-static.dir/mtp/ByteArray.cpp.o\r\n[  5%] Building CXX object CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o\r\nIn file included from /Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/mtp/ptp/Device.cpp:29:\r\n/Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/./mtp/usb/Request.h:62:16: error: value of type\r\n      'mtp::usb::RequestType' is not implicitly convertible to 'u8' (aka 'unsigned char')\r\n                        DeviceOut       = RequestType::HostToDevice | RequestType::Standard | RequestType::Device,\r\n                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/./mtp/usb/Request.h:63:15: error: value of type\r\n      'mtp::usb::RequestType' is not implicitly convertible to 'u8' (aka 'unsigned char')\r\n                        DeviceIn        = RequestType::DeviceToHost | RequestType::Standard | RequestType::Device\r\n                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/./mtp/usb/Request.h:98:19: error: value of type\r\n      'mtp::usb::RequestType' is not implicitly convertible to 'u8' (aka 'unsigned char')\r\n                        InterfaceOut    = RequestType::HostToDevice | RequestType::Standard | RequestType::Interface,\r\n                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/./mtp/usb/Request.h:99:19: error: value of type\r\n      'mtp::usb::RequestType' is not implicitly convertible to 'u8' (aka 'unsigned char')\r\n                        InterfaceIn             = RequestType::DeviceToHost | RequestType::Standard | RequestType::Interface\r\n                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/./mtp/usb/Request.h:129:18: error: value of type\r\n      'mtp::usb::RequestType' is not implicitly convertible to 'u8' (aka 'unsigned char')\r\n                        EnpointOut              = RequestType::HostToDevice | RequestType::Standard | RequestType::Endpoint,\r\n                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Volumes/disk1s1/Users/ia/sgs4-firmware/android-file-transfer-linux/./mtp/usb/Request.h:130:17: error: value of type\r\n      'mtp::usb::RequestType' is not implicitly convertible to 'u8' (aka 'unsigned char')\r\n                        EnpointIn               = RequestType::DeviceToHost | RequestType::Standard | RequestType::Endpoint\r\n                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n6 errors generated.\r\nmake[2]: *** [CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/mtp-ng-static.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/whoozle/android-file-transfer-linux/issues/comments/164137254","html_url":"https://github.com/whoozle/android-file-transfer-linux/issues/109#issuecomment-164137254","issue_url":"https://api.github.com/repos/whoozle/android-file-transfer-linux/issues/109","id":164137254,"user":{"login":"whoozle","id":480115,"avatar_url":"https://avatars.githubusercontent.com/u/480115?v=3","gravatar_id":"","url":"https://api.github.com/users/whoozle","html_url":"https://github.com/whoozle","followers_url":"https://api.github.com/users/whoozle/followers","following_url":"https://api.github.com/users/whoozle/following{/other_user}","gists_url":"https://api.github.com/users/whoozle/gists{/gist_id}","starred_url":"https://api.github.com/users/whoozle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoozle/subscriptions","organizations_url":"https://api.github.com/users/whoozle/orgs","repos_url":"https://api.github.com/users/whoozle/repos","events_url":"https://api.github.com/users/whoozle/events{/privacy}","received_events_url":"https://api.github.com/users/whoozle/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T10:23:40Z","updated_at":"2015-12-12T10:23:40Z","body":"Just fixed clang compilation, commit 1a6e05af1eae0377f06582f2996e57fdce2f44f5"}}