Skip to content

Instantly share code, notes, and snippets.

@kode54
Created July 10, 2023 07:26
Show Gist options
  • Save kode54/039d50bc977885f51d046c175ef1322c to your computer and use it in GitHub Desktop.
Save kode54/039d50bc977885f51d046c175ef1322c to your computer and use it in GitHub Desktop.
Tenacity Git build error
/home/chris/.cache/paru/clone/tenacity-git/src/tenacity/libraries/lib-audio-devices/AudioIOBase.cpp:709:6: error: use of overloaded operator '<<' is ambiguous (with operand types 'std::ostringstream' (aka 'basic_ostringstream<char>') and 'const char[33]')
s << "EXPERIMENTAL_MIDI_OUT is enabled" << std::endl;
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/chris/.cache/paru/clone/tenacity-git/src/tenacity/libraries/lib-strings/TranslatableString.h:320:14: note: candidate function [with Sink = std::basic_ostringstream<char>]
inline Sink &operator <<( Sink &sink, const TranslatableString &str )
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:662:5: note: candidate function [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:645:5: note: candidate function [with _CharT = char, _Traits = std::char_traits<char>]
operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/bits/ostream.tcc:307:5: note: candidate function [with _CharT = char, _Traits = std::char_traits<char>]
operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:292:7: note: candidate function
operator<<(const void* __p)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:176:7: note: candidate function
operator<<(bool __n)
^
/home/chris/.cache/paru/clone/tenacity-git/src/tenacity/libraries/lib-audio-devices/AudioIOBase.cpp:716:6: error: use of overloaded operator '<<' is ambiguous (with operand types 'std::ostringstream' (aka 'basic_ostringstream<char>') and 'const char[36]')
s << "EXPERIMENTAL_MIDI_IN is NOT enabled" << std::endl;
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/chris/.cache/paru/clone/tenacity-git/src/tenacity/libraries/lib-strings/TranslatableString.h:320:14: note: candidate function [with Sink = std::basic_ostringstream<char>]
inline Sink &operator <<( Sink &sink, const TranslatableString &str )
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:662:5: note: candidate function [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:645:5: note: candidate function [with _CharT = char, _Traits = std::char_traits<char>]
operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/bits/ostream.tcc:307:5: note: candidate function [with _CharT = char, _Traits = std::char_traits<char>]
operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:292:7: note: candidate function
operator<<(const void* __p)
^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/ostream:176:7: note: candidate function
operator<<(bool __n)
^
2 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment