2
0
Эх сурвалжийг харах

Updated warning removal list, and made system_exec_command_line_app in main.c return the exit code.

Zachary Pierson 8 жил өмнө
parent
commit
047f883078
2 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 1 1
      build.sh
  2. 2 0
      src/main.c

+ 1 - 1
build.sh

@@ -2,7 +2,7 @@
 
 
 release_mode=0
 release_mode=0
 
 
-warnings_to_disable="-Wno-attributes -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Wno-switch -Wno-pointer-sign"
+warnings_to_disable="-Wno-attributes -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Wno-switch -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare -Wno-autological-compare"
 libraries="-pthread -ldl -lm"
 libraries="-pthread -ldl -lm"
 other_args="-x c"
 other_args="-x c"
 compiler="gcc"
 compiler="gcc"

+ 2 - 0
src/main.c

@@ -106,6 +106,8 @@ i32 system_exec_command_line_app(char *name, bool is_silent, char *fmt, ...) {
 	// }
 	// }
 
 
 	// exit_code = status;
 	// exit_code = status;
+	
+	return exit_code;
 }
 }
 #endif
 #endif