mac cscope 编译错误

  今天晚上在Mac上安装cscope插件时,碰到一个编译问题。虽然最近在编译一个C++工程时也碰到不少编译的问题,但是对于今天碰到的这个问题,还是第一次碰到。具体情况如下:

  在编译cscope-15.8a版本的代码,make这一步时抛出如下错误

  1. In file included from build.c:50:
    /usr/include/ncurses.h:539:40: error: macro “cbreak” passed 1 arguments, but takes just 0
    /usr/include/ncurses.h:564:44: error: macro “erasechar” passed 1 arguments, but takes just 0
    /usr/include/ncurses.h:600:43: error: macro “killchar” passed 1 arguments, but takes just 0
    make[2]: *** [build.o] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

     

继续阅读mac cscope 编译错误