From 0115def169c2280e49822c954f7904ea38abbe03 Mon Sep 17 00:00:00 2001 From: Ren Baoshuo Date: Sun, 31 Oct 2021 11:47:56 +0800 Subject: [PATCH] feat: use c++14 & O2 --- .vscode/c_cpp_properties.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index f39e5024..1696930e 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -42,9 +42,13 @@ ], "compilerPath": "/usr/bin/g++", "cStandard": "c89", - "cppStandard": "c++11", - "intelliSenseMode": "gcc-x64" + "cppStandard": "c++14", + "intelliSenseMode": "gcc-x64", + "compilerArgs": [ + "-lm", + "-O2" + ] } ], "version": 4 -} \ No newline at end of file +}