From 9d5ee7f8bd62f11cb0d9019cc4a715f265452bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 15 Jul 2022 12:09:16 +0200 Subject: Use C++17 for Flycheck. --- .dir-locals.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.dir-locals.el') diff --git a/.dir-locals.el b/.dir-locals.el index 6c6dcc0..9eecf88 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,4 +1,3 @@ -((c-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include")) - (flycheck-gcc-definitions . ("UNICODE" "_UNICODE")))) - (c++-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include")) - (flycheck-gcc-definitions . ("UNICODE" "_UNICODE"))))) +((c++-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include")) + (flycheck-gcc-definitions . ("UNICODE" "_UNICODE")) + (flycheck-gcc-language-standard . "c++17")))) -- cgit v1.2.3