当我将lint工具Wartremover添加为SBT插件时,将其列在文件unpost_menu(MENU * menu)
{
WINDOW *win;
T((T_CALLED("unpost_menu(%p)"), (void *)menu));
if (!menu)
RETURN(E_BAD_ARGUMENT);
if (menu->status & _IN_DRIVER)
RETURN(E_BAD_STATE);
if (!(menu->status & _POSTED))
RETURN(E_NOT_POSTED);
Call_Hook(menu, itemterm);
Call_Hook(menu, menuterm);
win = Get_Menu_Window(menu);
werase(win);
wsyncup(win);
assert(menu->sub);
delwin(menu->sub);
menu->sub = (WINDOW *)0;
assert(menu->win);
delwin(menu->win);
menu->win = (WINDOW *)0;
ClrStatus(menu, _POSTED);
RETURN(E_OK);
}
中:
.sbt/0.13/plugins/plugin.sbt
Eclipse Mars抱怨问题视图中显示以下错误:
addSbtPlugin("org.brianmckenna" % "sbt-wartremover" % "0.13")
如何解决此问题,以便上述错误永久消失?
在我的Compiler plugin wartremover_2.11-0.13.jar is cross-compiled with incompatible version for this project: 2.11.0 vs 2.11.7
文件中,我将Wartremover配置为:
build.sbt