如果遇到duplicate database
信息如下
line 42:
E568: duplicate cscope database not added
Press ENTER or type command to continue
那么就是vim的全局配置中也有cscope add cscope.out
和cscope_maps.vim或者用户的vim配置文件中的cscope add cscope.out冲突了
解决方法: a.you can adding this line "set nocscopeverbose " to your ~/.vimrc file as well. (我是采用了这种方法)
b.To fix this issue, you will need to simply edit the file "~/.vim/plugin/cscopemenu.vim" (or whatever your plugin is named) and edit the line :
set cscopeverbose
https://blogs.oracle.com/natarajan/entry/avoiding_duplicate_cscope_database_error
信息如下
line 42:
E568: duplicate cscope database not added
Press ENTER or type command to continue
那么就是vim的全局配置中也有cscope add cscope.out
和cscope_maps.vim或者用户的vim配置文件中的cscope add cscope.out冲突了
解决方法: a.you can adding this line "set nocscopeverbose " to your ~/.vimrc file as well. (我是采用了这种方法)
b.To fix this issue, you will need to simply edit the file "~/.vim/plugin/cscopemenu.vim" (or whatever your plugin is named) and edit the line :
set cscopeverbose
https://blogs.oracle.com/natarajan/entry/avoiding_duplicate_cscope_database_error