Zip-o-mat / Slic3r

Slic3r with integrated electronics and Nonplanar slicer (see branches)
GNU Affero General Public License v3.0
594 stars 96 forks source link

Made the placeholders use proper namespaces (boost::placeholders::_1) #41

Closed Muha0644 closed 2 years ago

Muha0644 commented 3 years ago

It did not want to compile for my system (arch linux), but now it works. The problem was that the compiler didn't understand that _1 was placeholder in the bind functions. I just changed all instances of it to boost::placeholders::_1 and it compiled correctly. I only did this to the ones that the compiler was complaining about. I don't know if this is a problem for others, but the pragma message said not using namespaces was obsolete anyway.

Muha0644 commented 2 years ago

uhh did anyone even see this?

Zip-o-mat commented 2 years ago

I am sorry! I read the email and marked it as "read later"......Apparently that never happen :(

I will integrate the boost stuff at the end of the week. Tanks for your reminder.

Zip-o-mat commented 2 years ago

Hi, I just cherry picked the relevant commits from this pull request in the main Slic3r. The boost stuff should work now...If not please report here.

Thank you for your input and reminder.