blueloveTH 1 år sedan
förälder
incheckning
049a5fadee
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      build_g.sh
  2. 1 1
      include/pocketpy/config.h

+ 2 - 2
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

+ 1 - 1
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