emacs.d

My emacs configuration, done in a literate programming fashion using org-mode

git clone git://git.shimmy1996.com/emacs.d.git
commit be94e0679bab91c7eb1ee098e031516da6aacfa5
parent e6a8183ac3d9c216b4f3bb3e0a7bc84de0c9d8fb
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Fri,  7 Sep 2018 16:27:58 -0400

Use C++17 for syntax checkers.

Diffstat:
MREADME.org | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
@@ -623,13 +623,13 @@ Install =flycheck=.
 #+END_SRC
 
 *** Set C++ Standard Library
-Use =c++14= as the C++ standard.
+Use =c++17= as the C++ standard. =cppcheck= only support C++ 14 so far however.
 #+BEGIN_SRC emacs-lisp
   (add-hook 'c++-mode-hook
             (lambda () (progn
                          (setq flycheck-cppcheck-standards '("c++14"))
-                         (setq flycheck-clang-language-standard "c++14")
-                         (setq flycheck-gcc-language-standard "c++14"))))
+                         (setq flycheck-clang-language-standard "c++17")
+                         (setq flycheck-gcc-language-standard "c++17"))))
 #+END_SRC
 
 *** Set Google C++ Syntax Checker