GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - flymake/flymake-cppcheck: Cppcheck for Emacs with flymake

BranchesTags
Open more actions menu

Latest commit

 

History

49 Commits
49 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.gitignore
.gitignore
 
 
Eask
Eask
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
flymake-cppcheck.el
flymake-cppcheck.el
 
 

Repository files navigation

NOTE: I recommend that you use the flycheck. Because, you can run the checker more than one. Of course, including cppcheck.

License: GPL v3

flymake-cppcheck.el

CI

Cppcheck for Emacs with flymake-mode.

To use Cppcheck with Emacs, you will need Cppcheck installed.

You should be able to run

$ cppcheck

and, you'll also need to install flymake-easy.

Usage

You'll need to add the directory containing flymake-cppcheck.el to your load-path.

If not, also add to your config

(add-to-list 'load-path "~/.emacs.d/path/to/flymake-cppcheck.el")

Add to your Emacs config

(require 'flymake-cppcheck)
(add-hook 'c-mode-hook 'flymake-cppcheck-load)
(add-hook 'c++-mode-hook 'flymake-cppcheck-load)

Enable messages

By default only error messages are shown. Through the command more checks can be enabled.

(custom-set-variables
 '(flymake-cppcheck-enable "all"))

multi:

(custom-set-variables
 '(flymake-cppcheck-enable "warning,performance,information,style"))
  • warning
  • performance
  • information
  • style
  • unusedFunction
  • all

cppcheck command location

By default, the location of the cppcheck command is searched.

(custom-set-variables
 '(flymake-cppcheck-command "/path/to/cppcheck"))

Where to create temporary copy

one of 'tempdir or 'inplace (default).

(custom-set-variables
 '(flymake-cppcheck-location 'tempdir))

For more informations

Please refer to official document.

About

Cppcheck for Emacs with flymake

Resources

Readme

Code of conduct

Code of conduct
Activity
Custom properties

Stars

9 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.