diff --git a/src/libslic3r/Format/STEP.cpp b/src/libslic3r/Format/STEP.cpp index f63d56f1b..00d692fc6 100644 --- a/src/libslic3r/Format/STEP.cpp +++ b/src/libslic3r/Format/STEP.cpp @@ -30,7 +30,9 @@ LoadStepFn get_load_step_fn() { static LoadStepFn load_step_fn = nullptr; +#ifndef __APPLE__ constexpr const char* fn_name = "load_step_internal"; +#endif if (!load_step_fn) { auto libpath = boost::dll::program_location().parent_path(); diff --git a/src/occt_wrapper/OCCTWrapper.cpp b/src/occt_wrapper/OCCTWrapper.cpp index 87f15e7f9..e41d8953f 100644 --- a/src/occt_wrapper/OCCTWrapper.cpp +++ b/src/occt_wrapper/OCCTWrapper.cpp @@ -80,7 +80,7 @@ static void getNamedSolids(const TopLoc_Location& location, const Handle(XCAFDoc extern "C" OCCTWRAPPER_EXPORT bool load_step_internal(const char *path, OCCTResult* res /*BBS:, ImportStepProgressFn proFn*/) { try { - bool cb_cancel = false; + //bool cb_cancel = false; //if (proFn) { // proFn(LOAD_STEP_STAGE_READ_FILE, 0, 1, cb_cancel); // if (cb_cancel)