Browse Source

Avoid error on `implicit-function-declaration`

Ray 3 năm trước cách đây
mục cha
commit
482dbfc52e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Makefile

+ 1 - 1
src/Makefile

@@ -348,7 +348,7 @@ endif
 #  -Wstrict-prototypes      warn if a function is declared or defined without specifying the argument types
 #  -Werror=implicit-function-declaration   catch function calls without prior declaration
 ifeq ($(PLATFORM),PLATFORM_DESKTOP)
-    CFLAGS += -Werror=implicit-function-declaration
+    #CFLAGS += -Werror=implicit-function-declaration
 endif
 ifeq ($(PLATFORM),PLATFORM_WEB)
     # -Os                        # size optimization