Skip to content

protect redefinition

Roberto Arturo Homs-Regojo requested to merge fix-binning-h into master

Binning.h is called twice and generate a redefinition

In file included from /users/blissadm/lima/lima/control/src/CtVideo.cpp:12:
/opt/bliss/conda/miniconda/envs/limadev1/include/processlib/Binning.h:26:20: error: redefinition of 'class Tasks::Binning'
   26 |   class DLL_EXPORT Binning : public LinkTask
      |                    ^~~~~~~
In file included from /users/blissadm/lima/lima/control/software_operation/include/lima/SoftOpId.h:31,
                 from /users/blissadm/lima/lima/control/software_operation/include/lima/SoftOpExternalMgr.h:27,
                 from /users/blissadm/lima/lima/control/src/CtVideo.cpp:7:
/opt/bliss/conda/miniconda/envs/limadev1/include/processlib/Binning.h:26:20: note: previous definition of 'class Tasks::Binning'
   26 |   class DLL_EXPORT Binning : public LinkTask
      |                    ^~~~~~~
CMakeFiles/limacore.dir/build.make:679: recipe for target 'CMakeFiles/limacore.dir/control/src/CtVideo.cpp.o' failed

Merge request reports

Loading