|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
13 Jan 2020, Peter Kunz, Forum, cmake complie issues
|
13 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues
|
13 Jan 2020, Peter Kunz, Forum, cmake complie issues
|
13 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues
|
14 Jan 2020, Stefan Ritt, Forum, cmake complie issues
|
14 Jan 2020, Stefan Ritt, Forum, cmake complie issues
|
16 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues, Fedora 31 ROOT?
|
17 Jan 2020, Lukas Gerritzen, Forum, cmake complie issues, Fedora 31 ROOT?
|
17 Jan 2020, Stefan Ritt, Forum, cmake complie issues, Fedora 31 ROOT?
|
17 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues, Fedora 31 ROOT?
|
17 Jan 2020, Konstantin Olchanski, Forum, cmake complie issues, Fedora 31 ROOT?
|
|
Message ID: 1783
Entry time: 16 Jan 2020
In reply to: 1759
Reply to this: 1784
|
Author: |
Konstantin Olchanski |
Topic: |
Forum |
Subject: |
cmake complie issues, Fedora 31 ROOT? |
|
|
> Complile including ROOT throws an error with ROOT 6.18/04 on Fedora 31 ...
> /usr/include/root/ROOT/RStringView.hxx:32:37: error: ‘experimental’ in namespace ‘std’ ...
I was puzzled by this error about "experimental" in ROOT header files.
All ROOT kits that I have are configured and built with c++11, and I do not see this error. I now guess that you
only saw this on Fedora 31 with gcc 9 and ROOT that was configured for c++14 or c++17.
We now realize that MIDAS cmake does not use the ROOT CFLAGS when building code that uses ROOT,
and this is probably a mistake. Stefan added a fix to use ROOT CFLAGS to build the analyzer,
but I am not sure if this is sufficient, rmana and rmlogger probably also should use the ROOT CFLAGS.
In any case, we are setup for an eventual collision between MIDAS CFLAGS (-std=gnu++11) and ROOT CFLAGS (-std=something else).
K.O. |