lang/cc: change default standard to c++1z
This commit is contained in:
parent
b2030c6ed3
commit
7cd97588e6
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ database.")
|
||||||
(defvar +cc-default-compiler-options
|
(defvar +cc-default-compiler-options
|
||||||
`((c-mode . nil)
|
`((c-mode . nil)
|
||||||
(c++-mode
|
(c++-mode
|
||||||
. ,(list "-std=c++11" ; use C++11 by default
|
. ,(list "-std=c++1z" ; use C++17 draft by default
|
||||||
(when IS-MAC
|
(when IS-MAC
|
||||||
;; NOTE beware: you'll get abi-inconsistencies when passing
|
;; NOTE beware: you'll get abi-inconsistencies when passing
|
||||||
;; std-objects to libraries linked with libstdc++ (e.g. if you
|
;; std-objects to libraries linked with libstdc++ (e.g. if you
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue