Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build errors reported by gcc 14 #13856

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cryptomilk
Copy link

gcc 14 reports ambiguous function calls and ternary type mismatches. The patches of this PR address those issues.

@hegjon
Copy link

hegjon commented Dec 31, 2024

Related to PR #11769 ?

@cryptomilk
Copy link
Author

Yeah, it is more or less exactly the same.

@cryptomilk
Copy link
Author

Ping

src/slic3r/Utils/OctoPrint.cpp: In lambda function:
src/slic3r/Utils/OctoPrint.cpp:754:36: error: operands to ‘?:’ have
different types ‘std::wstring’ {aka ‘std::__cxx11::basic_string<wchar_t>
’} and ‘wxString’
  754 |                     si.name = name ? boost::nowide::widen(*name) : wxString();
      |                               ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@cryptomilk
Copy link
Author

Rebased on master as ee98a1c addressed the other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants