Skip to content

Fix a few warnings occurring on macOS

Hannes Braun requested to merge fix-some-warnings into devel

I think both the warnings about using sprintf and #import aren't present on Linux (but they are on macOS with clang). Still, it's probably worth fixing, even if these are minor issues.

  • sprintf/vsprintf is replaced with snprintf/vsnprintf for security reasons
  • #import isn't part of the C++ standard

Merge request reports