Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. Last login: Sat Oct 19 12:43:46 on ttys000
  2. MacBookigdadmin:~ gdadmin$ cd /Users/gdadmin/Desktop/King
  3. MacBookigdadmin:King gdadmin$ mkdir build
  4. MacBookigdadmin:King gdadmin$ cd build
  5. MacBookigdadmin:build gdadmin$ cmake ..
  6. -- The C compiler identification is AppleClang 10.0.0.10001044
  7. -- The CXX compiler identification is AppleClang 10.0.0.10001044
  8. -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
  9. -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
  10. -- Detecting C compiler ABI info
  11. -- Detecting C compiler ABI info - done
  12. -- Detecting C compile features
  13. -- Detecting C compile features - done
  14. -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
  15. -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
  16. -- Detecting CXX compiler ABI info
  17. -- Detecting CXX compiler ABI info - done
  18. -- Detecting CXX compile features
  19. -- Detecting CXX compile features - done
  20. -- Configuring done
  21. -- Generating done
  22. -- Build files have been written to: /Users/gdadmin/Desktop/King/build
  23. MacBookigdadmin:build gdadmin$ make
  24. Scanning dependencies of target king
  25. [ 25%] Building CXX object CMakeFiles/king.dir/src/main.cpp.o
  26. /Users/gdadmin/Desktop/King/src/main.cpp:440:32: warning: format specifies type
  27. 'unsigned long' but the argument has type 'uint64_t' (aka
  28. 'unsigned long long') [-Wformat]
  29. printf("[*] [%lX] = %08X\n", address, Value);
  30. ~~~ ^~~~~~~
  31. %llX
  32. /Users/gdadmin/Desktop/King/src/main.cpp:459:34: warning: format specifies type
  33. 'unsigned long' but the argument has type 'uint64_t' (aka
  34. 'unsigned long long') [-Wformat]
  35. printf("[*] [%lX] = %016lX\n", address, Value);
  36. ~~~ ^~~~~~~
  37. %llX
  38. /Users/gdadmin/Desktop/King/src/main.cpp:459:43: warning: format specifies type
  39. 'unsigned long' but the argument has type 'uint64_t' (aka
  40. 'unsigned long long') [-Wformat]
  41. printf("[*] [%lX] = %016lX\n", address, Value);
  42. ~~~~~~ ^~~~~
  43. %016llX
  44. 3 warnings generated.
  45. [ 50%] Building CXX object CMakeFiles/king.dir/src/dfu.cpp.o
  46. [ 75%] Building CXX object CMakeFiles/king.dir/src/usbexec.cpp.o
  47. /Users/gdadmin/Desktop/King/src/usbexec.cpp:90:31: warning: result of comparison
  48. of constant 4080 with expression of type 'bool' is always true
  49. [-Wtautological-constant-out-of-range-compare]
  50. assert(0 <= response_length <= USB_READ_LIMIT);
  51. ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
  52. /usr/include/assert.h:93:25: note: expanded from macro 'assert'
  53. (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
  54. ^
  55. /Users/gdadmin/Desktop/King/src/usbexec.cpp:123:28: error: no matching function
  56. for call to 'min'
  57. uint64_t part_length = min((length - data.size()),
  58. ^~~
  59. /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2652:1: note:
  60. candidate template ignored: deduced conflicting types for parameter '_Tp'
  61. ('unsigned long' vs. 'unsigned long long')
  62. min(const _Tp& __a, const _Tp& __b)
  63. ^
  64. /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2662:1: note:
  65. candidate template ignored: could not match
  66. 'initializer_list<type-parameter-0-0>' against 'unsigned long'
  67. min(initializer_list<_Tp> __t, _Compare __comp)
  68. ^
  69. /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2644:1: note:
  70. candidate function template not viable: requires 3 arguments, but 2 were
  71. provided
  72. min(const _Tp& __a, const _Tp& __b, _Compare __comp)
  73. ^
  74. /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2670:1: note:
  75. candidate function template not viable: requires single argument '__t',
  76. but 2 arguments were provided
  77. min(initializer_list<_Tp> __t)
  78. ^
  79. 1 warning and 1 error generated.
  80. make[2]: *** [CMakeFiles/king.dir/src/usbexec.cpp.o] Error 1
  81. make[1]: *** [CMakeFiles/king.dir/all] Error 2
  82. make: *** [all] Error 2
  83. MacBookigdadmin:build gdadmin$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement