I am trying to run flycheck with c++-code which imports the thread library. thread requires -std=c++11 which is not used with the c/c++-gcc setting.
Is there a way to add this flag or to solve this in a some other way?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityThere's an option for this called flycheck-gcc-language-standard
. You can find this and more options for C/C++ in the list of supported languages in our documentation.