(add-hook 'c-mode-hook
(lambda () (setq flycheck-clang-include-path
(list "/usr/include/glib-2.0" "/usr/lib/glib-2.0/include"))))
to my .emacs
Thanks
]]>#include <glib-2.0/glib.h>
The problem is when I try to link the library, I get the following errors on Flycheck:
glib.h 'glib/galloca.h' file not found with <angled> include; use "quotes" instead (c/c++-clang)
galloca.h 'glib/gtypes.h' file not found (c/c++-clang)
/usr/include/glib-2.0/glib/gtypes.h does actually exist so I don't know what the problem is
Nothing referencing this error shows up on any search engine so I ask you if you have any idea.
Thanks
]]>