From 049a5fadee5005a93e5b1a14eab7082f7c86c9ea Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 13 May 2024 02:28:37 +0800 Subject: [PATCH] some fix --- build_g.sh | 4 ++-- include/pocketpy/config.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build_g.sh b/build_g.sh index 2cfa2c90..190078ea 100644 --- a/build_g.sh +++ b/build_g.sh @@ -1,5 +1,5 @@ SRC=$(find src/ -name "*.cpp") -FLAGS="-std=c++17 -O1 -stdlib=libc++ -Iinclude -frtti -Wfatal-errors -g" +FLAGS="-std=c++17 -O0 -stdlib=libc++ -Iinclude -frtti -Wfatal-errors -g" -clang++ $FLAGS -o main -O1 src2/main.cpp $SRC +clang++ $FLAGS -o main src2/main.cpp $SRC diff --git a/include/pocketpy/config.h b/include/pocketpy/config.h index 61630b54..fdfa5aef 100644 --- a/include/pocketpy/config.h +++ b/include/pocketpy/config.h @@ -38,7 +38,7 @@ // Do not edit the following settings unless you know what you are doing #define PK_DEBUG_CEVAL_STEP 0 #define PK_DEBUG_MEMORY_POOL 1 -#define PK_DEBUG_NO_MEMORY_POOL 0 +#define PK_DEBUG_NO_MEMORY_POOL 1 #define PK_DEBUG_NO_AUTO_GC 0 #define PK_DEBUG_GC_STATS 0