Hi, I have a JSON Database Compilation and it works well from the terminal.
[
{
"directory": "./",
"command": "clang ./src/lab14.c -std=c99 -Wall -I./include -o ./bin/setup.exe",
"file": "C:/Users/nxjulian/Documents/lab14/src/lab14.c"
}
]
Terminal
clang-check -analyze src/lab14.c
With emacs
(require 'flycheck-clangcheck)
(defun my-select-clangcheck-for-checker ()
"Select clang-check for flycheck's checker."
(flycheck-mode 1)
(flycheck-set-checker-executable 'c/c++-clangcheck
"C:/Program Files/LLVM/bin/clang-check.exe")
(flycheck-select-checker 'c/c++-clangcheck))
The problem is in emacs with flycheck-clangcheck not recognize "./include".
Help me please.
Hi, I have a JSON Database Compilation and it works well from the terminal.
[ { "directory": "./", "command": "clang ./src/lab14.c -std=c99 -Wall -I./include -o ./bin/setup.exe", "file": "C:/Users/nxjulian/Documents/lab14/src/lab14.c" } ]Terminal
With emacs
The problem is in emacs with flycheck-clangcheck not recognize "./include".
Help me please.