On Fri, Nov 17, 2023 at 12:26:08AM +0100, Christian Weisgerber wrote:
> Updated list:
> 
> cad/prusaslicer                     C++ ambiguous function call

Unbreak: Resolve two ambiguous overloads triggered by recent 
header changes and detected after switch to clang 16.

ok?

Index: patches/patch-src_slic3r_GUI_PhysicalPrinterDialog_cpp
===================================================================
RCS file: patches/patch-src_slic3r_GUI_PhysicalPrinterDialog_cpp
diff -N patches/patch-src_slic3r_GUI_PhysicalPrinterDialog_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_slic3r_GUI_PhysicalPrinterDialog_cpp      18 Nov 2023 
20:51:53 -0000
@@ -0,0 +1,20 @@
+Index: src/slic3r/GUI/PhysicalPrinterDialog.cpp
+--- src/slic3r/GUI/PhysicalPritnerDialog.cpp.orig
++++ src/slic3r/GUI/PhysicalPrinterDialog.cpp
+***************
+*** 462,468 ****
+      // Always fill in the "printhost_port" combo box from the config and 
select it.
+      {
+          Choice* choice = 
dynamic_cast<Choice*>(m_optgroup->get_field("printhost_port"));
+!         choice->set_values({ m_config->opt_string("printhost_port") });
+          choice->set_selection();
+      }
+  
+--- 462,468 ----
+      // Always fill in the "printhost_port" combo box from the config and 
select it.
+      {
+          Choice* choice = 
dynamic_cast<Choice*>(m_optgroup->get_field("printhost_port"));
+!         choice->set_values((const std::vector<std::string>){ 
m_config->opt_string("printhost_port") });
+          choice->set_selection();
+      }
+  
Index: patches/patch-src_slic3r_GUI_Plater_cpp
===================================================================
RCS file: patches/patch-src_slic3r_GUI_Plater_cpp
diff -N patches/patch-src_slic3r_GUI_Plater_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_slic3r_GUI_Plater_cpp     18 Nov 2023 20:51:53 -0000
@@ -0,0 +1,20 @@
+Index: src/slic3r/GUI/Plater.cpp
+--- src/slic3r/GUI/Plater.cpp.orig
++++ src/slic3r/GUI/Plater.cpp
+***************
+*** 5310,5316 ****
+  
+      p->reset();
+  
+!     if (! load_files({ into_path(filename) }).empty()) {
+          // At least one file was loaded.
+          p->set_project_filename(filename);
+          // Save the names of active presets and project specific config into 
ProjectDirtyStateManager.
+--- 5310,5316 ----
+  
+      p->reset();
+  
+!     if (! load_files((const std::vector<boost::filesystem::path>){ 
into_path(filename) }).empty()) {
+          // At least one file was loaded.
+          p->set_project_filename(filename);
+          // Save the names of active presets and project specific config into 
ProjectDirtyStateManager.

Reply via email to