Hi! I don't know ELisp, so couldn't fix the bug. It happens when I try to open file ~/Ubuntu\ One/playground/learnc/ex19.h, flymake says "Configuration error occured ..."
I think the problem is inside this function:
(defun flymake-get-make-cmdline (source base-dir)
(list "make"
(list "-s"
"-C"
base-dir
(concat "CHK_SOURCES=" source)
"SYNTAX_CHECK_MODE=1"
"check-syntax")))
I tried to change it to
(defun flymake-get-make-cmdline (source base-dir)
(list "make"
(list "-s"
"-C"
(shell-quote-argument base-dir)
(concat "CHK_SOURCES=" (shell-quote-argument source))
"SYNTAX_CHECK_MODE=1"
"check-syntax")))
But that didn't help (it now prints "make ..." command right and if I copy-paste it to shell it will work fine, but still flymake reports about it as error).
Sorry. To be more precice, now ".c" files work (flymake works). but .h -- don't.