From f8ba7c598f085a4b6740cb949bf8f2510ebadd67 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 12 Apr 2019 18:09:19 -0700 Subject: [PATCH] GCC 8.2.1 std::make_shared defect --- Build.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Build.md b/Build.md index 5503dbd..9f6823f 100644 --- a/Build.md +++ b/Build.md @@ -33,6 +33,8 @@ cmake --build Release The resulting executable will be `Release/ccls`. +If you compile ccls with GCC 8.2.1, append `-DCMAKE_CXX_FLAGS=-fno-gnu-unique`. See https://github.com/MaskRay/ccls/issues/363#issuecomment-482625854 for details. + See below for other CMake options available for customizing the build, hints for your system, as well as methods of obtaining and locating Clang+LLVM.