From 8a54019f865cb2a22419fef8ed9d4f5d7c68af0b Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 27 Dec 2020 14:49:38 +0100 Subject: [PATCH] Set C++ language standard to 17 --- .config/emacs/config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 291df99..fe2c6cf 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -503,7 +503,10 @@ On the fly syntax checking. php-mode shell-mode shell-script-mode) - . flycheck-mode)) + . flycheck-mode) + :config + (setq flycheck-clang-language-standard "c++17") + (setq flycheck-gcc-language-standard "c++17")) ;; For .el files which are intended to be packages (use-package flycheck-package