Dear @jalopezg
I’m using g++ (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
Here it is the output with the candidates
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFUtils.cxx: In function 'std::string ROOT::Internal::RDF::GetBranchOrLeafTypeName(TTree&, const string&)':
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFUtils.cxx:182:67: error: call of overloaded 'basic_string(TString)' is ambiguous
return GetLeafTypeName(leaf, std::string(leaf->GetFullName()));
^
In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/string:52,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TSchemaHelper.h:17,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TGenericClassInfo.h:21,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/Rtypes.h:191,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/RColumnReaderBase.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDataSource.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFUtils.cxx:12:
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3571:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(basic_string&& __str)
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3554:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3507:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>'
basic_string(const basic_string& __str);
^~~~~~~~~~~~
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFUtils.cxx:210:70: error: call of overloaded 'basic_string(TString)' is ambiguous
return GetLeafTypeName(leaf, std::string(leaf->GetFullName()));
^
In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/string:52,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TSchemaHelper.h:17,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TGenericClassInfo.h:21,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/Rtypes.h:191,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/RColumnReaderBase.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDataSource.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFUtils.cxx:12:
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3571:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(basic_string&& __str)
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3554:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3507:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>'
basic_string(const basic_string& __str);
^~~~~~~~~~~~
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAbsStudy.cxx.o
[ 87%] Building CXX object tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RJittedDefine.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAbsTestStatistic.cxx.o
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TGedEditor.cxx.o
gmake[2]: *** [tree/dataframe/CMakeFiles/ROOTDataFrame.dir/build.make:258: tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFUtils.cxx.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TGedFrame.cxx.o
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TGedMarkerSelect.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAcceptReject.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAdaptiveIntegratorND.cxx.o
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx: In function 'std::string {anonymous}::EscapeDots(const string&)':
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx:147:37: error: call of overloaded 'basic_string(std::remove_reference<TString&>::type)' is ambiguous
return std::string(std::move(out));
^
In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/string:52,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TSchemaHelper.h:17,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TGenericClassInfo.h:21,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/Rtypes.h:191,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/TString.h:26,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/RColumnRegister.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/InterfaceUtils.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx:11:
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3571:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(basic_string&& __str)
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3554:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3507:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>'
basic_string(const basic_string& __str);
^~~~~~~~~~~~
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx: In function '{anonymous}::ParsedExpression {anonymous}::ParseRDFExpression(std::string_view, const ColumnNames_t&, const ROOT::Internal::RDF::RColumnRegister&, const ColumnNames_t&)':
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx:178:58: error: call of overloaded 'basic_string(TString&)' is ambiguous
FindUsedColsAndAliases(std::string(preProcessedExpr), treeBranchNames, colRegister, dataSourceColNames);
^
In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/string:52,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TSchemaHelper.h:17,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TGenericClassInfo.h:21,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/Rtypes.h:191,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/TString.h:26,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/RColumnRegister.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/InterfaceUtils.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx:11:
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3571:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(basic_string&& __str)
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3554:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3507:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>'
basic_string(const basic_string& __str);
^~~~~~~~~~~~
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx:203:63: error: call of overloaded 'basic_string(std::remove_reference<TString&>::type)' is ambiguous
return ParsedExpression{std::string(std::move(exprWithVars)), std::move(usedCols), std::move(varNames)};
^
In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/string:52,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TSchemaHelper.h:17,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/meta/inc/TGenericClassInfo.h:21,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/Rtypes.h:191,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/core/base/inc/TString.h:26,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/RColumnRegister.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/inc/ROOT/RDF/InterfaceUtils.hxx:14,
from /home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx:11:
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3571:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(basic_string&& __str)
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3554:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
^~~~~~~~~~~~
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/basic_string.h:3507:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>'
basic_string(const basic_string& __str);
^~~~~~~~~~~~
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TGedPatternSelect.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAddGenContext.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAddition.cxx.o
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TGraphEditor.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAddModel.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAddPdf.cxx.o
[ 87%] Linking CXX shared library ../../lib/libProofPlayer.so
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooAICRegistry.cxx.o
[ 87%] Built target ProofPlayer
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TH1Editor.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooArgList.cxx.o
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx: At global scope:
/home/pmcorreia@UA.PT/Root6_26_10/root_src/tree/dataframe/src/RDFInterfaceUtils.cxx:80:1: warning: 'std::pair<std::vector<std::basic_string<char> >, std::vector<std::basic_string<char> > > {anonymous}::FindUsedColsAndAliases(const string&, const ColumnNames_t&, const ROOT::Internal::RDF::RColumnRegister&, const ColumnNames_t&)' defined but not used [-Wunused-function]
FindUsedColsAndAliases(const std::string &expr, const ColumnNames_t &treeBranchNames,
^~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [tree/dataframe/CMakeFiles/ROOTDataFrame.dir/build.make:230: tree/dataframe/CMakeFiles/ROOTDataFrame.dir/src/RDFInterfaceUtils.cxx.o] Error 1
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooArgProxy.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooArgSet.cxx.o
[ 87%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/Initialisation.cxx.o
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TH2Editor.cxx.o
[ 87%] Building CXX object gui/ged/CMakeFiles/Ged.dir/src/TLineEditor.cxx.o
gmake[1]: *** [CMakeFiles/Makefile2:29133: tree/dataframe/CMakeFiles/ROOTDataFrame.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....