You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building master of DD4Hep we encountered a compilation error related to an ambiguous assignment operator on LCG macOS platforms. The error occurs in the following code snippet:
/Users/sftnight/build/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-master/src/DD4hep/master/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:476:45: error: use of overloaded operator '=' is ambiguous (with operand types 'std::map<std::string, std::pair<edm4hep::SimCalorimeterHitCollection, edm4hep::CaloHitContributionCollection>>::mapped_type' (aka 'std::pair<edm4hep::SimCalorimeterHitCollection, edm4hep::CaloHitContributionCollection>') and 'void')
auto& hits = m_calorimeterHits[colName] = {};
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__utility/pair.h:262:11: note: candidate function
pair& operator=(typename conditional<
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__utility/pair.h:275:11: note: candidate function
pair& operator=(typename conditional<
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__utility/pair.h:40:29: note: candidate function (the implicit copy assignment operator) has been implicitly deleted
struct _LIBCPP_TEMPLATE_VIS pair
^
Hello,
Building master of DD4Hep we encountered a compilation error related to an ambiguous assignment operator on LCG macOS platforms. The error occurs in the following code snippet:
DD4hep/DDG4/edm4hep/Geant4Output2EDM4hep.cpp
Line 476 in 3347996
The text was updated successfully, but these errors were encountered: