Akumuli icon indicating copy to clipboard operation
Akumuli copied to clipboard

Akumuli will not compile on Clang 3.6

Open facontidavide opened this issue 8 years ago • 1 comments

I am trying to compile on Ubuntu 14.04 with Clang 3.6.

Nope...

/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/cstdio:120:11: error: no member named 'gets' in the global namespace using ::gets;

facontidavide avatar Apr 07 '16 12:04 facontidavide

You should install libstdc++ and use it with clang (pass -stdlib=libc++ option to the compiler). There is no clang support in my cmake scripts but you can easily add this option when invoking cmake:

cmake /path/to/src -DCMAKE_BUILD_TYPE=Release DCMAKE_CXX_FLAGS_RELEASE="${CMAKE_CXX_FLAGS_RELEASE} -stdlib=libc++"

Lazin avatar Apr 09 '16 15:04 Lazin