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

SFML / SFML / 24180932568

09 Apr 2026 08:40AM UTC coverage: 58.911% (-0.002%) from 58.913%
24180932568

push

github

eXpl0it3r
Avoid symbol conflict when static linking with a lib shipping own QOI

When several libraries linked statically into the project ship an
"implementation header" C library/functions, the linker may end up
with multiple symbols conflict, especially when the original sources
were tweaked.
With SFML, this happens e.g. when linking statically with the KTX
library or Basis Universal (which contains QOI actually).

Prepend our namespace prefix in front of the conflicting functions
using macros to resolve this.

(I'll submit a PR to the BasisU repo to be completely fair)

Signed-off-by: Alexander Lobakin <alobakin@mailbox.org>

8412 of 15619 branches covered (53.86%)

Branch coverage included in aggregate %.

14476 of 23233 relevant lines covered (62.31%)

33391.15 hits per line

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

65.02
/src/SFML/Network/TcpSocket.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