GJDuck / EffectiveSan

Runtime type and bounds-error checking for C/C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unknown type name 'basic_string_view'

mansouriahmad opened this issue · comments

Hi,

Thanks for the great work. I am trying to compile the code (0.1.1 alpha) on ubuntu 18.04 Clang4 installed. However, I am getting the same error reported in issue 2:

#2 (comment)

Thanks

Hi,
I think this may be a problem with compiling the older clang-4 (on which EffectiveSan is based) on newer systems (basically, some of the standard header files have been changed in a way that is incompatible with the older clang-4 code). I am not 100% sure that is the problem but that is my best guess.

I also do not have a quick-fix aside from compiling it in a virtual machine with ubuntu 16.04. If you do not intend to make modifications, then you can also use the pre-compiled release.

Unfortunately, porting EffectiveSan to newer versions of clang is non-trivial, since all of the front-end hacks would also need to be ported.