emacs flycheck syntax checher for cpp file

emacs flycheck syntax checher for cpp file

本文关键字:cpp file for checher flycheck syntax emacs      更新时间:2023-10-16

我正在使用Emacs 24.3.1编辑一个.cpp文件,当我激活M-x flycheck-mode时,它显示了正在(C++/l FlyC- Abbrev)的状态,其中FlyC-表示它没有找到合适的语法检查器。

在我从flycheck-select-checker获得的列表中,我看不到任何看起来像C++切切尔的东西:

Possible completions are:
bash    coffee-coffeelint   css-csslint
emacs-lisp  emacs-lisp-checkdoc     go-build
go-gofmt    go-test     haml
html-tidy   javascript-jshint   json-jsonlint
lua     perl    php
php-phpcs   python-flake8   python-pyflakes
python-pylint   rst     ruby
rust-rustc  sass    scss
sh  tex-chktex  tex-lacheck
xml-xmlstarlet  zsh

任何想法可能缺少什么?

当我

运行flycheck-select-checker时,我既有c/c++-clang又有c/c++-cppcheck。也许您正在使用过时的飞行检查?