# HG changeset patch # User Nattee Niparnan # Date 2014-09-04 10:16:59 # Node ID 3ba16858c472ec1b6ccda4173a29f8325c7e0faa # Parent d5a0f0a406b56a1a71e9d726a860985c3bcdc838 add c++11 support to compile script diff --git a/std-script/compile b/std-script/compile --- a/std-script/compile +++ b/std-script/compile @@ -32,7 +32,7 @@ PYTHON_CHECKER = "/usr/bin/pyflakes" C_OPTIONS = "-O2 -s -static -std=c99 -DCONTEST -lm -Wall" -CPLUSPLUS_OPTIONS = "-O2 -s -static -DCONTEST -lm -Wall" +CPLUSPLUS_OPTIONS = "-O2 -s -std=c++11 -static -DCONTEST -lm -Wall" PASCAL_OPTIONS = "-O1 -XS -dCONTEST" JAVA_OPTIONS = "" PYTHON_OPTIONS = ""