aboutsummaryrefslogtreecommitdiff
path: root/doc/problemexamples/problemtemplate
diff options
context:
space:
mode:
authorBruno Cesar Ribas <brunoribas@gmail.com>2018-09-13 01:59:51 +0000
committerBruno Cesar Ribas <brunoribas@gmail.com>2018-09-13 01:59:51 +0000
commitee2a736ffd66d6043381fbf2da70840e2e54216c (patch)
tree34544afa58a65b36f6e500c1b532b248b86dd2d7 /doc/problemexamples/problemtemplate
parent007bcc0f9daf20fb930a36dacf856f8b0dc33bea (diff)
downloadboca-ee2a736ffd66d6043381fbf2da70840e2e54216c.tar.gz
boca-ee2a736ffd66d6043381fbf2da70840e2e54216c.zip
compile/cc: Defaults to c++14
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
Diffstat (limited to 'doc/problemexamples/problemtemplate')
-rw-r--r--doc/problemexamples/problemtemplate/compile/cc4
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
# ////////////////////////////////////////////////////////////////////////////////
#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