Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Class fields hightlighting if field contains :: or <> in its type. #140

Closed
melonaerial opened this issue Sep 14, 2016 · 15 comments
Closed

Comments

@melonaerial
Copy link

I've installed color_coded and used 'twilighted' colorscheme to test it.
As you can see on the image, class fields highlighted good in declaration. But in code fields that contain "::" or "<>" in their type name highlighted like classical vars, not like class fields. For example:
at line 45-49 all class fields highlighted correctly with cursive text. But at line 40, 63-65 they lighted like classical vars, not like class fields. But at line 40 and 62 variable m_data highlighted correctly.

And also hightlighting doesn't work if we use "." , but work with "->" for access the class field. You can see difference in lines 62 and 70 for access m_data field.

I don't know, maybe I need to do some more configuration for that plugin or it is real bug. How can i fix it or maybe help you to fix it ?

vim_cpp_highlight

@melonaerial
Copy link
Author

And also I see difference in std::cin and std::cout highlighting. It is really annoying to see that.

@jeaye
Copy link
Owner

jeaye commented Sep 14, 2016

color_coded was just recently (yesterday) updated to clang 3.9.0; would you mind checking out 5d7d4b7 and rebuilding to see if you have the same issue?

libclang's AST representation is questionable, at best, which has led to issues like #2

With that said, std::cout and std::cin highlight just fine for me, in some test sources. I'd also double check, since it seems you're new to color_coded, that you've specified a valid .color_coded for your sources. If you still have issues, sharing a standalone source file and associated .color_coded will help me to reproduce locally.

Thank you for taking the time to open this ticket; color_coded's in a stable state, so we should be able to get you comfortable with it, given some config tweaks.

@melonaerial
Copy link
Author

So i've installed last color_coded plugin, but there was no difference in code higlighting after that. So I was looking for similar issues and found that my .color_coded whic was generated by YCM-Generator contains only

-x
c++
-std=c++11

So then when I have added "isystem/usr/lib/clang/3.9.0/include" string to my color_coded file everything start working correctly. So the first question is : Do I have to add this string everytime manually to .color_coded file or maybe there is some parameters to YCM-Generator that can add it ?

@melonaerial
Copy link
Author

This line "-isystem/usr/lib/clang/3.9.0/include" solves that issue for my Ubuntu 14.04. But I've got laptop with Arch Linux which uses gcc 6.0(I've seen that some guy have got issue with gcc 6.0).
After going through all issues I added a lot of paths to my .color_coded file, but the situation haven't changed. Here is the last version of .color_coded file:

-x
c++
-fcolor-diagnostics
-std=c++11
-isystem/usr/lib/clang/3.8.1/include
-isystem/usr/include
-isystem/usr/include/c++/6.2.1
-isystem/usr/include/c++/6.2.1/x86_64-pc-linux-gnu
-isystem/usr/include/c++/6.2.1/backward
-isystem/usr/local/include
-isystem/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include
-isystem/usr/lib64/gcc/x86_64-pc-linux-gnu/6.2.1/include

As I have seen in the README on Ubuntu you install libclang-3.9-dev (and man, please add commands that add repo with this version of clang to Ubuntu, because by default this repo isn't included, I can share them with you) . But on Arch Linux I haven't got that package. Maybe I have to build this package from source, because I don't see clang-3.9 packages in Arch repository? So the question for working of color_coded on Arch Linux is open, because I use it a lot in my work too.

@jeaye
Copy link
Owner

jeaye commented Sep 15, 2016

  1. Are you using the system clang or default color_coded clang?
  2. If you're using color_coded's clang, did you rm -r it?

You shouldn't be including system headers for clang manually. Please share with my your cmake commands so I can know how you configured. Note that manually installing clang should not be needed. I'm surprised to see that Arch, of all distros, still has clang on 3.8; since Debian-based systems also don't have it yet, I'll drop that README bit back down to 3.8; as I said, it shouldn't needed, but it does handle some possible issues that arise and most people don't care about installing it. I'm targeting the majority of people there.

@melonaerial
Copy link
Author

melonaerial commented Sep 15, 2016

I'm not using clang for compilation, I'm using gcc and simple Makefile. I've started with simple example to test color_coded and make good setup for C/C++ IDE in Vim. So plugin directory contains in build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04 color_coded's clang which was downloaded during installation and I haven't delete it (rm -r it). I'm not using cmake, but if color_coded works only with cmake projects I can try with it. Here is my simple project for test:
test_project.zip

I've included .color_code file there which was genereted by YCM-generator. As I said generated file just contains this:

-x
c++

@jeaye
Copy link
Owner

jeaye commented Sep 16, 2016

Sorry for the confusion; I'm not asking what you're using to build your project, I'm asking what you're using for color_coded's backend. It sounds like you're using the default clang, since it downloaded during the configuration process.

Similarly, when asking about cmake, I'm talking about how you built color_coded. What you use to compile your project shouldn't affect your ability to use color_coded.

The configs which YCM-generator gave you aren't needed. -x foo just sets the file type, for clang, and color_coded does that on a per-file basis already. You're effectively compiling with no .color_coded, which shouldn't be an issue if you're only using the C++ stdlib and default system libs. I'll take a look at your example project.

@jeaye
Copy link
Owner

jeaye commented Sep 16, 2016

screen-1
screen-2

@jeaye
Copy link
Owner

jeaye commented Sep 16, 2016

I unzipped your project and opened main.cpp using gvim main.cpp; everything looks fine to me, so I think we need to tweak something with your installation. I'll try some more to duplicate your setup.

@jeaye
Copy link
Owner

jeaye commented Sep 16, 2016

I just tried a fresh clone and manual build. Afterward, your test project still renders properly. Will you look through these commands and reply back with a similar post showing exactly the commands (or vim configuration) you used to build color_coded?

┌─(✓)[jeaye@max]─[~/.vim/plugged][21:23:15][master]
└──╼ git clone [email protected]:jeaye/color_coded.git # Use HTTPS, if you're doing this
Cloning into 'color_coded'...
remote: Counting objects: 4592, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 4592 (delta 3), reused 0 (delta 0), pack-reused 4580
Receiving objects: 100% (4592/4592), 9.20 MiB | 1.41 MiB/s, done.
Resolving deltas: 100% (2302/2302), done.
Checking connectivity... done.
┌─(✓)[jeaye@max]─[~/.vim/plugged][21:23:52][master]
└──╼ cd color_coded/
┌─(✓)[jeaye@max]─[~/.vim/plugged/color_coded][21:23:54][master]
└──╼ mkdir build; cd build; cmake ..; make && make install
-- The C compiler identification is AppleClang 7.3.0.7030031
-- The CXX compiler identification is AppleClang 7.3.0.7030031
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found 64bit system
-- Updating submodules
Submodule 'lib/jest' (https://github.com/jeaye/jest.git) registered for path 'lib/jest'
Cloning into 'lib/jest'...
Submodule path 'lib/jest': checked out '3506361cc94b44406b997e0507a362864687e982'
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Performing Test COMPILER_SUPPORTS_CXX1Y
-- Performing Test COMPILER_SUPPORTS_CXX1Y - Success
-- Looking for Lua
-- Found Lua
--   Lua include /usr/local/include
--   Lua lib /usr/local/lib/liblua.dylib
-- Found Curses: /usr/lib/libcurses.dylib
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Locating trusted Clang/LLVM 3.9.0
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- Found clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz
-- Extracting Clang/LLVM 3.9.0
-- Clang/LLVM root path: /Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin
-- Found LLVM: /Users/jeaye/projects/vimrc/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin (found version "3.9.0")
-- Detected that llvm-config comes from a build-tree, adding more include directories for Clang
-- Found Clang (LLVM version: 3.9.0)
--   Include dirs:       /Users/jeaye/projects/vimrc/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/include;/tools/clang/include;/tools/clang/include
--   Clang libraries:    /Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclang.dylib;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangIndex.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangFrontend.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangFrontendTool.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangDriver.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangFormat.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangCodeGen.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangEdit.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangSema.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangAnalysis.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangSerialization.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangStaticAnalyzerFrontend.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangStaticAnalyzerCheckers.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangStaticAnalyzerCore.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangRewriteFrontend.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangRewrite.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangAnalysis.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangARCMigrate.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangAST.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangASTMatchers.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangDynamicASTMatchers.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangParse.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangLex.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangBasic.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangTooling.a;/Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclangToolingCore.a
--   Libclang C library: /Users/jeaye/.vim/plugged/color_coded/build/clang+llvm-3.9.0-x86_64-apple-darwin/lib/libclang.dylib
-- Generating sources
-- Checking for luajit
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jeaye/.vim/plugged/color_coded/build
Scanning dependencies of target color_coded_boost
[  7%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/codecvt_error_category.cpp.o
[ 15%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/operations.cpp.o
[ 23%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/path.cpp.o
[ 30%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/path_traits.cpp.o
[ 38%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/portability.cpp.o
[ 46%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/unique_path.cpp.o
[ 53%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/utf8_codecvt_facet.cpp.o
[ 61%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/system/src/error_code.cpp.o
[ 69%] Linking CXX static library libcolor_coded_boost.a
[ 69%] Built target color_coded_boost
Scanning dependencies of target color_coded_config_test
[ 76%] Building CXX object CMakeFiles/color_coded_config_test.dir/test/src/config/main.cpp.o
[ 84%] Linking CXX executable color_coded_config_test
[ 84%] Built target color_coded_config_test
Scanning dependencies of target color_coded_track_api
Tracking API changes ...
[ 84%] Built target color_coded_track_api
Scanning dependencies of target color_coded
[ 92%] Building CXX object CMakeFiles/color_coded.dir/src/main.cpp.o
[100%] Linking CXX shared library color_coded.so
[100%] Built target color_coded
[ 69%] Built target color_coded_boost
[ 84%] Built target color_coded_config_test
Tracking API changes ...
[ 84%] Built target color_coded_track_api
[100%] Built target color_coded
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /Users/jeaye/.vim/plugged/color_coded/color_coded.so
┌─(✓)[jeaye@max]─[~/.vim/plugged/color_coded/build][21:25:10][master]
└──╼

@melonaerial
Copy link
Author

Here it is my installation log:

[melon@melon-pc bundle]$ pwd
/home/melon/.vim/bundle
[melon@melon-pc bundle]$ git clone https://github.com/jeaye/color_coded.git
Cloning into 'color_coded'...
remote: Counting objects: 4592, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 4592 (delta 3), reused 0 (delta 0), pack-reused 4580
Receiving objects: 100% (4592/4592), 9.20 MiB | 931.00 KiB/s, done.
Resolving deltas: 100% (2302/2302), done.
Checking connectivity... done.
[melon@melon-pc bundle]$ cd color_coded/
[melon@melon-pc color_coded]$ mkdir build && cd build
[melon@melon-pc build]$ cmake ..
-- The C compiler identification is GNU 6.2.1
-- The CXX compiler identification is GNU 6.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found 64bit system
-- Updating submodules
Submodule 'lib/jest' (https://github.com/jeaye/jest.git) registered for path 'lib/jest'
Cloning into '/home/melon/.vim/bundle/color_coded/lib/jest'...
Submodule path 'lib/jest': checked out '3506361cc94b44406b997e0507a362864687e982'
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Performing Test COMPILER_SUPPORTS_CXX1Y
-- Performing Test COMPILER_SUPPORTS_CXX1Y - Success
-- Looking for Lua
-- Found Lua
--   Lua include /usr/include
--   Lua lib /usr/lib64/liblua5.2.so;/usr/lib64/libm.so
-- Found Curses: /usr/lib64/libcurses.so  
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Locating trusted Clang/LLVM 3.9.0
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- Found clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
-- Extracting Clang/LLVM 3.9.0
-- Clang/LLVM root path: /home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04
-- Found LLVM: /home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04 (found version "3.9.0") 
-- Detected that llvm-config comes from a build-tree, adding more include directories for Clang
-- Found Clang (LLVM version: 3.9.0)
--   Include dirs:       /home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/include;/tools/clang/include;/tools/clang/include
--   Clang libraries:    /home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclang.so;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangIndex.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangFrontend.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangFrontendTool.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangDriver.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangFormat.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangCodeGen.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangEdit.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangSema.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangAnalysis.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangSerialization.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangStaticAnalyzerFrontend.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangStaticAnalyzerCheckers.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangStaticAnalyzerCore.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangRewriteFrontend.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangRewrite.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangAnalysis.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangAST.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangASTMatchers.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangDynamicASTMatchers.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangParse.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangLex.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangBasic.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangTooling.a;/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclangToolingCore.a
--   Libclang C library: /home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclang.so
-- Generating sources
-- Checking for luajit
-- Configuring done
-- Generating done
-- Build files have been written to: /home/melon/.vim/bundle/color_coded/build
[melon@melon-pc build]$ make && make install
Scanning dependencies of target color_coded_boost
[  7%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/codecvt_error_category.cpp.o
[ 15%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/operations.cpp.o
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:28:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/detail/shared_count.hpp:395:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:242:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
                                                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:441:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
                               ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:454:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:520:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> & r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:529:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> && r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:531:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
                                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp: In function ‘int {anonymous}::readdir_r_simulator(DIR*, dirent*, dirent**)’:
/home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:1962:18: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
       { return ::readdir_r(dirp, entry, result); }
                  ^~~~~~~~~
In file included from /usr/include/features.h:368:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstddef:49,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/config/include/boost/config/select_stdlib_config.hpp:18,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/config/include/boost/config.hpp:44,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:18,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/dirent.h:189:12: note: declared here
 extern int __REDIRECT (readdir_r,
            ^
/home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:1962:47: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
       { return ::readdir_r(dirp, entry, result); }
                                               ^
In file included from /usr/include/features.h:368:0,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
                 from /usr/include/c++/6.2.1/cstddef:49,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/config/include/boost/config/select_stdlib_config.hpp:18,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/config/include/boost/config.hpp:44,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:18,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/operations.cpp:44:
/usr/include/dirent.h:189:12: note: declared here
 extern int __REDIRECT (readdir_r,
            ^
[ 23%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/path.cpp.o
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:28:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/detail/shared_count.hpp:395:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:242:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
                                                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:441:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
                               ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:454:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:520:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> & r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:529:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> && r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:531:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
                                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/path.cpp:26:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 30%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/path_traits.cpp.o
[ 38%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/portability.cpp.o
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:28:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/detail/shared_count.hpp:395:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:242:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
                                                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:441:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
                               ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:454:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:520:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> & r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:529:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> && r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:531:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
                                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/portability.cpp:21:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 46%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/unique_path.cpp.o
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:28:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/detail/shared_count.hpp:395:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:242:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
                                                                 ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:441:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
                               ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:454:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:520:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> & r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:529:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> && r )
                                  ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/melon/.vim/bundle/color_coded/lib/boost/include/boost/shared_ptr.hpp:17:0,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/home/melon/.vim/bundle/color_coded/lib/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp:531:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
                                      ^~~~~~~~
In file included from /usr/include/c++/6.2.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/6.2.1/locale:43,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path_traits.hpp:29,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/path.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/include/boost/filesystem/operations.hpp:25,
                 from /home/melon/.vim/bundle/color_coded/lib/boost/filesystem/src/unique_path.cpp:20:
/usr/include/c++/6.2.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 53%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/filesystem/src/utf8_codecvt_facet.cpp.o
[ 61%] Building CXX object CMakeFiles/color_coded_boost.dir/lib/boost/system/src/error_code.cpp.o
[ 69%] Linking CXX static library libcolor_coded_boost.a
[ 69%] Built target color_coded_boost
Scanning dependencies of target color_coded_track_api
Tracking API changes ...
[ 69%] Built target color_coded_track_api
Scanning dependencies of target color_coded
[ 76%] Building CXX object CMakeFiles/color_coded.dir/src/main.cpp.o
[ 84%] Linking CXX shared library color_coded.so
[ 84%] Built target color_coded
Scanning dependencies of target color_coded_config_test
[ 92%] Building CXX object CMakeFiles/color_coded_config_test.dir/test/src/config/main.cpp.o
[100%] Linking CXX executable color_coded_config_test
[100%] Built target color_coded_config_test
[ 69%] Built target color_coded_boost
Tracking API changes ...
[ 69%] Built target color_coded_track_api
[ 84%] Built target color_coded
[100%] Built target color_coded_config_test
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /home/melon/.vim/bundle/color_coded/color_coded.so
-- Set runtime path of "/home/melon/.vim/bundle/color_coded/color_coded.so" to "/home/melon/.vim/bundle/color_coded/build/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04/lib"
[melon@melon-pc build]$ 

Here it is me .vimrc config:

set t_Co=256
set nocompatible
filetype plugin indent on
syntax on
set rtp+=~/.vim/bundle/vundle/

" Tab rules
set tabstop=4
set softtabstop=4
set shiftwidth=4
set noexpandtab

call vundle#begin()

Plugin 'VundleVim/Vundle.vim'

Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'

Plugin 'scrooloose/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'tpope/vim-fugitive'

Plugin 'zenorocha/dracula-theme', {'rtp': 'vim/'}
Plugin 'sickill/vim-monokai'

Plugin 'Shougo/vimproc.vim'
Plugin 'Shougo/unite.vim' 

Plugin 'jeaye/color_coded'
Plugin 'rdnetto/YCM-Generator'

call vundle#end()
filetype plugin indent on
set laststatus=2
color monokai
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1

" Unite settings
" Автоматический insert mode
let g:unite_enable_start_insert = 1

" Отображаем Unite в нижней части экрана
let g:unite_split_rule = "botright"

" Отключаем замену статус строки
let g:unite_force_overwrite_statusline = 0

" Размер окна Unite
let g:unite_winheight = 10

" Красивые стрелочки
let g:unite_candidate_icon="▷"

" Bindings
nnoremap <leader>f :<C-u>Unite -buffer-name=files -start-insert buffer file_rec/async:!<cr>

map <leader>n :NERDTreeToggle<CR>

" Color coded params
let g:color_coded_enabled = 1
let g:color_coded_filetypes = ['c', 'cpp', 'objc']

@melonaerial
Copy link
Author

melonaerial commented Sep 16, 2016

And if I type :CCerror , then it shows me:
/usr/include/wchar.h:39:11: fatal error: 'stdarg.h' file not found

@jeaye
Copy link
Owner

jeaye commented Sep 16, 2016

Ah, that last bit of info is good. It looks like you might be experiencing this: #126

It's something you can fix, by adding some system include paths; ideally this can be done for you, behind the scenes, but it's only needed in some setups.

@melonaerial
Copy link
Author

@jeaye Yeah, you're right. I've found this comment very useful #126 (comment) . It references to FAQ of YCM plugin here . So all I have to do is to call echo | clang -v -E -x c++ - and include all paths under the #include <...> search starts here: to my .color_coded with prepended string -isystem . Now everything goes fine. I think you can include this solution to your FAQ if you want and close this issue.

@jeaye
Copy link
Owner

jeaye commented Oct 24, 2016

Thanks, @melonaerial. I've updated the README.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants