From ee2a736ffd66d6043381fbf2da70840e2e54216c Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Wed, 12 Sep 2018 22:59:51 -0300 Subject: compile/cc: Defaults to c++14 Signed-off-by: Bruno Cesar Ribas --- doc/problemexamples/problemtemplate/compile/cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/problemexamples/problemtemplate/compile') diff --git a/doc/problemexamples/problemtemplate/compile/cc b/doc/problemexamples/problemtemplate/compile/cc index 02d541e..6c3884a 100644 --- a/doc/problemexamples/problemtemplate/compile/cc +++ b/doc/problemexamples/problemtemplate/compile/cc @@ -16,7 +16,7 @@ # // along with this program. If not, see . # //////////////////////////////////////////////////////////////////////////////// #Last modified: 26/august/2014 by cassio@ime.usp.br -# definition of -std=c++11 +# definition of -std=c++14 # # parameters are: # $1 source_file @@ -116,7 +116,7 @@ if [ ! -x "\$cc" ]; then exit 47 fi cd src -"\$cc" -std=c++11 -static -O2 -o "../$exe" "$name" -lm +"\$cc" -std=c++14 -static -O2 -o "../$exe" "$name" -lm echo \$? > ../compileit.retcode exit 0 EOF -- cgit v1.2.3