Fixes 1 Bug and 14 Compiler Warnings #2218

Open
opened 2026-04-06 01:48:26 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @rubienr on 9/13/2025

Description

This PR:

  • Fixes #10652
  • Fixes 14 compiler warnings and 1 bug:
    • fixes: moving a temporary object prevents copy elision [-Wpessimizing-move]
    • fixes: output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
    • fixes: writing between 5 and 9223372036854775804 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 🐞
    • fixes: is used uninitialized [-Wuninitialized]
    • fixes: virtual void Slic3r::GUI::OTG_Settings::UpdateAndShow(bool) was hidden [-Woverloaded-virtual=]
*Originally created by @rubienr on 9/13/2025* # Description This PR: - Fixes #10652 - Fixes 14 compiler warnings and 1 bug: - fixes: moving a temporary object prevents copy elision [-Wpessimizing-move] - fixes: output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] - fixes: writing between 5 and 9223372036854775804 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] :lady_beetle: - fixes: is used uninitialized [-Wuninitialized] - fixes: virtual void Slic3r::GUI::OTG_Settings::UpdateAndShow(bool) was hidden [-Woverloaded-virtual=]
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#2218