Hello,
I have a problem compiling locally on my Mac (macOS 10.12.6, Xcode 9.2) using root v6.10.8 (root_v6.10.08). My problem looks a lot like described in https://sft.its.cern.ch/jira/browse/ROOT-9015, but as mentioned in the Jira it should have been fixed with the latest version. However I still experience exactly this problem with my little test program:
test.C:
#include
#include <TString.h>
int main()
{
std::cout << “Hello World” << std::endl;
return 0;
}
… using
g++ -O -Wall -fPIC -pthread -stdlib=libc++ -std=c++11 -m64 -I/Applications/root_v6.10.08/include -c -o test.o test.C
…I still get:
In file included from test.C:3:
In file included from /Applications/root_v6.10.08/include/TString.h:28:
/Applications/root_v6.10.08/include/RStringView.h:35:12: error: unknown type name 'basic_string_view’
typedef basic_string_view string_view;
^
/Applications/root_v6.10.08/include/RStringView.h:35:29: error: expected unqualified-id
typedef basic_string_view string_view;
…
Please tell me, what is wrong, I thought this issue is fixed in the new version of root v6?
Cheers,
Martin