1

emacs version:

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian

M-x flycheck version:

Flycheck version: 0.25alpha (package: 20150821.47)

M-x flycheck-verify-setup:

Syntax checkers for buffer file.c in c-mode:

c/c++-clang
- predicate: nil
- executable: Not found

c/c++-gcc
- predicate: t
- executable: Found at /usr/bin/gcc

c/c++-cppcheck
- predicate: t
- executable: Found at /usr/bin/cppcheck

Flycheck Mode is enabled.

M-x flycheck-gcc-include

[NO MATCH]

How can I enable flycheck-gcc-* commands to define inc dirs?

  • I wonder how you got the idea that flycheck-gcc-include-path was a command. It's not, and it's nowhere documented as such… – lunaryorn Sep 1 '15 at 12:48
1

flycheck-gcc-include-path is a variable, not a command. You can change it globally with M-x customize-variable RET flycheck-gcc-include-path, or per file or directory with File Variables and Directory Variables respectively.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.