Are you using the right STL, from LLVM, that had full C++17 support?
— Leif
> On Dec 18, 2019, at 21:40, supraja sridhar <suprajasridhar95@gmail.com> wrote:
>
>
> Hello,
>
> When building ATS 8.0.5 with clang-5.0 I get the following error -
>> 12 make[3]: Entering directory '/home/P4CLIENTS/centaur/centaur/centaur.build/src/tscpp/util'
>> 11 CXX TextView.lo
>> 10 In file included from TextView.cc:26:
>> 9 ../../../include/tscpp/util/TextView.h:37:10: fatal error: 'string_view' file
not found
>> 8 #include <string_view>
>> 7 ^~~~~~~~~~~~~
>> 6 1 error generated.
>> 5 Makefile:917: recipe for target 'TextView.lo' failed
>> 4 make[3]: *** [TextView.lo] Error 1
>
> Can you please help out?
>
>
> Thanks
> Supraja
|