Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Sat Oct 19 12:43:46 on ttys000
- MacBookigdadmin:~ gdadmin$ cd /Users/gdadmin/Desktop/King
- MacBookigdadmin:King gdadmin$ mkdir build
- MacBookigdadmin:King gdadmin$ cd build
- MacBookigdadmin:build gdadmin$ cmake ..
- -- The C compiler identification is AppleClang 10.0.0.10001044
- -- The CXX compiler identification is AppleClang 10.0.0.10001044
- -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
- -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
- -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /Users/gdadmin/Desktop/King/build
- MacBookigdadmin:build gdadmin$ make
- Scanning dependencies of target king
- [ 25%] Building CXX object CMakeFiles/king.dir/src/main.cpp.o
- /Users/gdadmin/Desktop/King/src/main.cpp:440:32: warning: format specifies type
- 'unsigned long' but the argument has type 'uint64_t' (aka
- 'unsigned long long') [-Wformat]
- printf("[*] [%lX] = %08X\n", address, Value);
- ~~~ ^~~~~~~
- %llX
- /Users/gdadmin/Desktop/King/src/main.cpp:459:34: warning: format specifies type
- 'unsigned long' but the argument has type 'uint64_t' (aka
- 'unsigned long long') [-Wformat]
- printf("[*] [%lX] = %016lX\n", address, Value);
- ~~~ ^~~~~~~
- %llX
- /Users/gdadmin/Desktop/King/src/main.cpp:459:43: warning: format specifies type
- 'unsigned long' but the argument has type 'uint64_t' (aka
- 'unsigned long long') [-Wformat]
- printf("[*] [%lX] = %016lX\n", address, Value);
- ~~~~~~ ^~~~~
- %016llX
- 3 warnings generated.
- [ 50%] Building CXX object CMakeFiles/king.dir/src/dfu.cpp.o
- [ 75%] Building CXX object CMakeFiles/king.dir/src/usbexec.cpp.o
- /Users/gdadmin/Desktop/King/src/usbexec.cpp:90:31: warning: result of comparison
- of constant 4080 with expression of type 'bool' is always true
- [-Wtautological-constant-out-of-range-compare]
- assert(0 <= response_length <= USB_READ_LIMIT);
- ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
- /usr/include/assert.h:93:25: note: expanded from macro 'assert'
- (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE...
- ^
- /Users/gdadmin/Desktop/King/src/usbexec.cpp:123:28: error: no matching function
- for call to 'min'
- uint64_t part_length = min((length - data.size()),
- ^~~
- /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2652:1: note:
- candidate template ignored: deduced conflicting types for parameter '_Tp'
- ('unsigned long' vs. 'unsigned long long')
- min(const _Tp& __a, const _Tp& __b)
- ^
- /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2662:1: note:
- candidate template ignored: could not match
- 'initializer_list<type-parameter-0-0>' against 'unsigned long'
- min(initializer_list<_Tp> __t, _Compare __comp)
- ^
- /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2644:1: note:
- candidate function template not viable: requires 3 arguments, but 2 were
- provided
- min(const _Tp& __a, const _Tp& __b, _Compare __comp)
- ^
- /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:2670:1: note:
- candidate function template not viable: requires single argument '__t',
- but 2 arguments were provided
- min(initializer_list<_Tp> __t)
- ^
- 1 warning and 1 error generated.
- make[2]: *** [CMakeFiles/king.dir/src/usbexec.cpp.o] Error 1
- make[1]: *** [CMakeFiles/king.dir/all] Error 2
- make: *** [all] Error 2
- MacBookigdadmin:build gdadmin$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement