You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run make, I got the error:
/home/kali/Applications/afsk-decoder/src/main.cpp: In function ‘int main(int, char**)’:
/home/kali/Applications/afsk-decoder/src/main.cpp:116:27: error: operands to ‘?:’ have different types ‘main(int, char**)::<lambda(std::string)>’ and ‘std::nullptr_t’
116 | printInfo ? normalWriter : nullptr,
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kali/Applications/afsk-decoder/src/main.cpp:117:29: error: operands to ‘?:’ have different types ‘main(int, char**)::<lambda(std::string)>’ and ‘std::nullptr_t’
117 | printErrors ? redWriter : nullptr,
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/kali/Applications/afsk-decoder/src/main.cpp:119:26: error: operands to ‘?:’ have different types ‘main(int, char**)::<lambda(std::string)>’ and ‘std::nullptr_t’
119 | printRaw ? magentaWriter : nullptr
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/afsk_decoder_run.dir/build.make:76: src/CMakeFiles/afsk_decoder_run.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:172: src/CMakeFiles/afsk_decoder_run.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered:
When I run make, I got the error:
/home/kali/Applications/afsk-decoder/src/main.cpp: In function ‘int main(int, char**)’:
/home/kali/Applications/afsk-decoder/src/main.cpp:116:27: error: operands to ‘?:’ have different types ‘main(int, char**)::<lambda(std::string)>’ and ‘std::nullptr_t’
116 | printInfo ? normalWriter : nullptr,
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kali/Applications/afsk-decoder/src/main.cpp:117:29: error: operands to ‘?:’ have different types ‘main(int, char**)::<lambda(std::string)>’ and ‘std::nullptr_t’
117 | printErrors ? redWriter : nullptr,
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/kali/Applications/afsk-decoder/src/main.cpp:119:26: error: operands to ‘?:’ have different types ‘main(int, char**)::<lambda(std::string)>’ and ‘std::nullptr_t’
119 | printRaw ? magentaWriter : nullptr
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/afsk_decoder_run.dir/build.make:76: src/CMakeFiles/afsk_decoder_run.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:172: src/CMakeFiles/afsk_decoder_run.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered: