AhmadRaniri

gcc-build-error.

Sep 4th, 2025
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.34 KB | None | 0 0
  1. ../../../../../libstdc++-v3/src/c++98/ios_locale.cc:59:12: error: template-id 'operator bool<>' for 'std::basic_ios<char>::operator void*() const' does not match any template declaration
  2.    59 |   template basic_ios<char>::operator void*() const;
  3.       |            ^~~~~~~~~~~~~~~
  4. In file included from /usr/src/qi/build/gcc-14-20250815/BUILD/x86_64-linux-musl/libstdc++-v3/include/ios:46,
  5.                  from ../../../../../libstdc++-v3/src/c++98/ios_locale.cc:29:
  6. /usr/src/qi/build/gcc-14-20250815/BUILD/x86_64-linux-musl/libstdc++-v3/include/bits/basic_ios.h:121:16: note: candidate is: 'std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = char; _Traits = std::char_traits<char>]'
  7.   121 |       explicit operator bool() const
  8.       |                ^~~~~~~~
  9. ../../../../../libstdc++-v3/src/c++98/ios_locale.cc:61:12: error: template-id 'operator bool<>' for 'std::basic_ios<wchar_t>::operator void*() const' does not match any template declaration
  10.    61 |   template basic_ios<wchar_t>::operator void*() const;
  11.       |            ^~~~~~~~~~~~~~~~~~
  12. /usr/src/qi/build/gcc-14-20250815/BUILD/x86_64-linux-musl/libstdc++-v3/include/bits/basic_ios.h:121:16: note: candidate is: 'std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]'
  13.   121 |       explicit operator bool() const
  14.  
Tags: GCC
Advertisement
Add Comment
Please, Sign In to add comment