Procházet zdrojové kódy

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

Zachary Pierson před 8 roky
rodič
revize
047f883078
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 1 1
      build.sh
  2. 2 0
      src/main.c

+ 1 - 1
build.sh

@@ -2,7 +2,7 @@
 
 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"
 other_args="-x c"
 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;
+	
+	return exit_code;
 }
 #endif