• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SFML / SFML / 12867025930

20 Jan 2025 11:27AM UTC coverage: 57.014% (-0.02%) from 57.029%
12867025930

push

github

eXpl0it3r
Fix build errors when compiling in C++20 mode

C++20 removes the ability to stream char32_t characters.
This is the error I get when setting CMAKE_CXX_STANDARD
to 20.

    /Users/thrasher/Projects/sfml/test/System/String.test.cpp:32:52: error: overload resolution selected deleted operator '<<'
       32 |     stream << "[\\x" << std::uppercase << std::hex << character << ']';
          |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/c++/v1/ostream:1009:31: note: candidate function [with _Traits = std::char_traits<char>] has been explicitly deleted
     1009 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char32_t) = delete;
          |                               ^

6236 of 12094 branches covered (51.56%)

Branch coverage included in aggregate %.

12057 of 19991 relevant lines covered (60.31%)

20123.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

52.29
/src/SFML/Window/WindowImpl.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc