I get the following warnings when loading restRoot
.
In file included from input_line_310:1:
/programas/REST/development/macros/printers/REST_PrintDataBase.C:18:13: error: no viable conversion from 'Int_t' (aka 'int') to 'std::__cxx11::string' (aka 'basic_string<char>')
db->print(run);
^~~
/usr/include/c++/6/bits/basic_string.h:397:7: note: candidate constructor not viable: no known conversion from 'Int_t' (aka 'int') to 'const std::__cxx11::basic_string<char> &' for
1st argument
basic_string(const basic_string& __str)
^
/usr/include/c++/6/bits/basic_string.h:454:7: note: candidate constructor not viable: no known conversion from 'Int_t' (aka 'int') to 'const char *' for 1st argument
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
^
/usr/include/c++/6/bits/basic_string.h:476:7: note: candidate constructor not viable: no known conversion from 'Int_t' (aka 'int') to 'std::__cxx11::basic_string<char> &&' for 1st
argument
basic_string(basic_string&& __str) noexcept
^
/usr/include/c++/6/bits/basic_string.h:503:7: note: candidate constructor not viable: no known conversion from 'Int_t' (aka 'int') to 'initializer_list<char>' for 1st argument
basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
^
/programas/REST/development/include/TRestDataBase.h:86:31: note: passing argument to parameter 'cmd' here
virtual void print(string cmd) {}
^
Error in <TGClient::TGClient>: only one instance of TGClient allowed
------------------------------------------------------------------
| Welcome to ROOT 6.20/00 https://root.cern |
| (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Mar 03 2020, 17:51:00 |
| From tag v6-20-00, 26 February 2020 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0]