Remove separate dppp_pythonstep shared lib
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
added 1 commit
- 55f68df6 - Register pythondppp as DPRun step, fix small bug
added 1 commit
- e6d978c1 - Register pythondppp as DPRun step, fix small bug
81 82 if (pos != string::npos) { 82 83 libname = libname.substr(0, pos); 83 84 } 84 // Try to load and initialize the dynamic library. 85 casacore::DynLib dl(libname, string("libdppp_"), "register_" + libname, 86 false); 87 if (dl.getHandle()) { 88 // See if registered now. 89 iter = theirStepMap.find(type); 90 if (iter != theirStepMap.end()) { 91 return iter->second; 85 I think this change is not correct. AFAIK no exception is thrown when the shared library is not found. And when the library is found and loaded, but does not register a step, then
theirStepMap.find(type)
will fail but not by throwing an exception, but by returning map::end.The change removes the handling of error conditions that do not throw an exception. The compiler warns for this DP3/DPPP/DPRun.cc:79:27: warning: control reaches end of non-void function [-Wreturn-type]
Edited by Bas van der Tol
- external/CMakeLists.txt deleted 100644 → 0
1 find_package(Git QUIET) 2 if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git") 3 # Update submodules as needed 4 option(GIT_SUBMODULE "Check submodules during configure" ON) 5 if(GIT_SUBMODULE) 6 message(STATUS "Submodule update") 7 message(STATUS "Syncing submodules") 8 execute_process(COMMAND ${GIT_EXECUTABLE} submodule sync --recursive enabled an automatic merge when the pipeline for 7d7a6b12 succeeds
mentioned in commit 891973ae
Please register or sign in to reply