aboutsummaryrefslogtreecommitdiff
path: root/doc/problemexamples/problemtemplate
diff options
context:
space:
mode:
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