From b0f59ff5bd1e9818acc90d90047db95a6f4178d4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 28 Jun 2018 12:59:29 +0200 Subject: [PATCH] lang/cc: fix wrong-type-argument: stringp error Caused by -stdlib flag being a sub-list in +cc-default-compiler-options, when it should be nil or a string. --- modules/lang/cc/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/cc/config.el b/modules/lang/cc/config.el index 9f7479434..f87e9d344 100644 --- a/modules/lang/cc/config.el +++ b/modules/lang/cc/config.el @@ -13,7 +13,7 @@ database.") ;; NOTE beware: you'll get abi-inconsistencies when passing ;; std-objects to libraries linked with libstdc++ (e.g. if you ;; use boost which wasn't compiled with libc++) - (list "-stdlib=libc++")))) + "-stdlib=libc++"))) (objc-mode . nil)) "A list of default compiler options for the C family. These are ignored if a compilation database is present in the project.")